Results 1 to 2 of 2

Thread: Can't build Qt in Windows from source, Perl installed but still can't find headers

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Aug 2009
    Posts
    140
    Thanks
    22
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Can't build Qt in Windows from source, Perl installed but still can't find headers

    I'm using Cygwin on Windows 7, 64-bit. I downloaded the 4.8.3. source and followed the instructions here, putting `<qtdir>/bin` in PATH along with the path to my chosen compiler. Configure fails immediately,

    $ ./configure

    Creating qmake. Please
    wait... g++ -c -o makefile.o -pipe -DQMAKE_OPENSOURCE_EDITION -g -I.
    -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -Igenerators/integrity -I/cygdrive/c/Qt/4.8.3/include -I/cygdrive/c/Qt/4.8.3/include/QtCore -I/cygdrive/c/Qt/4.8.3/src/corelib/global -I/cygdrive/c/Qt/4.8.3/src/corelib/xml -I/cygdrive/c/Qt/4.8.3/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/cygdrive/c/Qt/4.8.3/mkspecs/cygwin-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED generators/makefile.cpp

    In file included from ./option.h:45:0,
    from generators/makefile.h:45,
    from generators/makefile.cpp:42: ./project.h:45:25: fatal error: qstringlist.h: No such file or directory compilation
    terminated. make: *** [makefile.o] Error 1
    Discussions here and here identify the problem as being with Perl; however Perl is on my system and on the path. To be sure I went and downloaded/installed ActivePerl, after which I added `Perl64/bin` to the path. Same result.

    $ whereis perl

    perl: /bin/perl.exe /usr/bin/perl.exe /usr/share/perl
    /cygdrive/c/Perl64/bin/perl.exe /cygdrive/c/Perl64/bin/perl516.dll


    $ echo $PATH

    /cygdrive/c/Perl64/bin:/cygdrive/c/gcc/bin:/bin: ...
    /cygdrive/c/Qt/4.8.3/bin
    Would very much appreciate some help out with this. qstringlist.h resides in include/QtCore which is explicitly included in the initial g++ command that fails saying it can't find it, so what to do?
    Last edited by MattPhillips; 4th November 2012 at 19:01.

Similar Threads

  1. Find Directory where OS is installed
    By Dilshad in forum Newbie
    Replies: 3
    Last Post: 7th February 2012, 13:41
  2. Newbie to linux - installed qt but couldnt find standart libraries
    By hgedek in forum Installation and Deployment
    Replies: 2
    Last Post: 9th October 2011, 17:24
  3. Replies: 1
    Last Post: 14th August 2011, 13:48
  4. Replies: 1
    Last Post: 17th January 2011, 12:27
  5. How to find if Visual Studion 2008 installed
    By sawerset in forum Newbie
    Replies: 1
    Last Post: 7th December 2008, 18:28

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.