PDA

View Full Version : FIXED qwt build problem in VS



gib
5th March 2013, 20:39
After a long and confusing time I finally managed to get qwt-5.2.1 to build with MSVS 2005, using the latest Qt-VS addin (1.1.11). The first moc was failing, with a message about wrong syntax and cmd.exe. I discovered that the fix was to go into Qt Project Settings and change MocDirectory from .\moc to .\src\moc. I don't know if this error in the way the settings are initialized is the result of a change to the addin, or if it has always been like this. What had me confused, but ultimately gave me the clue I needed, was that I could build with VS after running the build from the command line with nmake (with VS already open). I guess nmake was doing the moc'ing.