August 9, 2011

sdiaz sdiaz
Lab Rat
6 posts

Include directory not found when cloning qt source on git

 

Am I supposed to copy it from elsewhere or is there something simple I’m failing to see?

7 replies

August 9, 2011

Denis Kormalev Denis Kormalev
Lab Rat
1654 posts

It should be created when you will build qt libraries.

August 9, 2011

sdiaz sdiaz
Lab Rat
6 posts

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.

August 9, 2011

ZapB ZapB
Ant Farmer
1424 posts

Make sure you have perl installed. The syncqt tool that configure uses to prepare the forwarding includes is a perl script.

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

August 9, 2011

sdiaz sdiaz
Lab Rat
6 posts

That was it, thanks a lot!

Is that something new? I was able to compile 4.7.3 without problems.

August 9, 2011

peppe peppe
Ant Farmer
1028 posts

Stable, official releases don’t require the syncqt tool to build the include/ directory. Building from git does require it.

 Signature 

Software Engineer
KDAB (UK) Ltd., a KDAB Group company

August 9, 2011

sdiaz sdiaz
Lab Rat
6 posts

That makes sense. Thanks!

August 9, 2011

ZapB ZapB
Ant Farmer
1424 posts

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.

 Signature 

Nokia Certified Qt Specialist
Interested in hearing about Qt related work

 
  ‹‹ Developing qt application for windows ce on ubuntu host      error QT 4.6.2 ››

You must log in to post a reply. Not a member yet? Register here!