can you attach compilable sources?
can you attach compilable sources?
Do you have dialog.cpp in the .pro file? If not, that would explain why you didn't get compilation errors but managed to pass to the linking stage.
J-P Nurmi
tilm (13th August 2008)
Thanks jpn, this was the problem. I always thought that
qmake -project
was sufficient to create a complete .pro file (I'm sure that I ran it before qmake and make). For me this was the first time that something in a .pro file created with qmake was missing. Do you know the reason for this?
Last edited by tilm; 13th August 2008 at 17:41. Reason: spelling error
I think I found the answer on my own: 'qmake -project' only includes dialog.cpp into the .pro file when dialog.h is included in MainWindow.h . But I first included the Dialog header file in MainWindow.cpp. That was the reason.
Bookmarks