Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Can't build Qt in Windows from source, Perl installed but still can't find headers
Qt 6.11 is out! See what's new in the release blog

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

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Matt Phillips
    wrote on last edited by
    #1

    I'm using Cygwin on Windows 7, 64-bit. I downloaded the 4.8.3. source and followed the instructions "here ":http://qt-project.org/doc/qt-4.8/install-win.html, putting <qtdir>/bin in PATH along with the path to my chosen compiler. Configure fails immediately,

    [QUOTE]$ ./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 [/QUOTE]

    Discussions "here ":http://qt-project.org/forums/viewthread/5360 and "here":http://stackoverflow.com/questions/2084766/how-to-build-latest-qt-from-git-repository-on-windows 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.

    [QUOTE]$ 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 [/QUOTE]

    Would very much appreciate some help out with this. Clearly it's some kind of paths issue but I don't know what else to include at this point

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved