I get undefined external symbol errors for the methods of the QWindow class. My .pro file contains:
QT += core
QT += gui
QT += widgets
What do I need to do to get QWindow's methods defined?
I get undefined external symbol errors for the methods of the QWindow class. My .pro file contains:
QT += core
QT += gui
QT += widgets
What do I need to do to get QWindow's methods defined?
Hi, please show us the "undefined external symbol errors".
Ginsengelf
I decided to try copying some lines from the Makefile of one of the sample projects to my Makefile. Then it built without error. I deleted the added lines two or three at a time to see which one(s) mattered. It ended up that I deleted the five lines I had added, getting me exactly back to where I had been, and it STILL builds without error. So I no longer have the messages, and I have no clue as to what the problem was.
Perhaps you didn't run qmake after making the initial changes to your .pro file, in which case the Makefiles would have been incorrect from the outset. In any case, hand-editing Makefiles is a bad idea, since qmake will regenerate them if the .pro file is changed.
<=== The Great Pumpkin says ===>
Please use CODE tags when posting source code so it is more readable. Click "Go Advanced" and then the "#" icon to insert the tags. Paste your code between them.
Bookmarks