Many things.What can be the problem?
Post the full error you get - it also specifies the location where the reference to the symbol is made (where the call is).
But probably a missing Q_OBJECT macro.
Many things.What can be the problem?
Post the full error you get - it also specifies the location where the reference to the symbol is made (where the call is).
But probably a missing Q_OBJECT macro.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
thanks for your reply
The link error is:
Error 1 error LNK2001: unresolved external symbol "public: static struct QMetaObject const QWinHost::staticMetaObject" (?staticMetaObject@QWinHost@@2UQMetaObject@@B) main.obj
the running example is attached.
I am trying to add a new package qtwinmigrate to qt
I downloaded the qtwinmigrate-2.8-opensource and want to run the QWinHost included example
with Visual Studio 2008
I am looking for someone that already did it and succeeded
what is the right sequence of actions to make it work?
did you call qmake?
Is main.moc being created?
Last edited by high_flyer; 13th September 2011 at 13:16.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Yes ,
Please look at the window attached
The image is too small to see anything.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Please try this one
This doesn't mean main.moc is actually there, if you click it, does it open?
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Yes, it opens
From the information you posted it should work... there is probably something else wrong...
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
Bookmarks