July 19th, 2014, 11:23 PM
Something weird in Qt Creator 3.1.2 based on Qt 5.3.1
I have written a big project in qt Creator.
Sometimes I get this weird thing :
Qt Creator misses compiling a cpp file and obviously generates linkage errors such as LNK 2001 or LNK 2019.
I know that it doesn't compile this cpp file because if I add an error in this file, Qt Creator doesn't see it.
I checked in the pro file, the cpp file is in the SOURCES files list.
Sometimes it's OK again and I don't understand why.
I tried run qmake, clean, rebuild ...
Any idea please ?
July 20th, 2014, 03:44 AM
Re: Something weird in Qt Creator 3.1.2 based on Qt 5.3.1
You could copy and rename the cpp file outside of the IDE, then completely remove/delete the old cpp file from within the IDE, and then finally introduce the copied renamed file into the IDE. This procedure usually straightens out IDE inconsistencies.
Also check for recursive dependencies among the #include files in the cpp file. It can really mess things up.
Have you tried the Qt forums?
Last edited by razzle; July 20th, 2014 at 04:38 AM.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!