Include directory not found when cloning qt source on git
-
wrote on 9 Aug 2011, 07:06 last edited by
Am I supposed to copy it from elsewhere or is there something simple I'm failing to see?
-
wrote on 9 Aug 2011, 07:16 last edited by
It should be created when you will build qt libraries.
-
wrote on 9 Aug 2011, 07:31 last edited by
You mean when doing configure + nmake? I'm on Windows, by the way, my first post was scarce.
When I execute this line:configure -platform win32-msvc2008 -debug-and-release
It fails with this message:
C:\Qt\4.8\src\corelib\global\qglobal.h(62) : fatal error C1083: Cannot open include file: 'QtCore/qconfig.h': No such file or directory
Actually, now that I take a closer look, it seems it's failing when building qmake.
-
wrote on 9 Aug 2011, 08:08 last edited by
Make sure you have perl installed. The syncqt tool that configure uses to prepare the forwarding includes is a perl script.
-
wrote on 9 Aug 2011, 09:01 last edited by
That was it, thanks a lot!
Is that something new? I was able to compile 4.7.3 without problems.
-
wrote on 9 Aug 2011, 09:17 last edited by
Stable, official releases don't require the syncqt tool to build the include/ directory. Building from git does require it.
-
wrote on 9 Aug 2011, 09:40 last edited by
That makes sense. Thanks!
-
wrote on 9 Aug 2011, 10:10 last edited by
Official releases have already have syncqt executed by the release team prior to zipping/tarballing. If building form git the onus is on the developer to do it.
1/8