I'm trying to build a basic Qt hello world inside visual studio.
I got the moc step to work (i think), but I am at a loss as to how to pass this linker error..
1>moc_mainwindow.obj : error LNK2001: unresolved external symbol "public: static struct QMetaObject const QMainWindow::staticMetaObject" (?staticMetaObject@QMainWindow@@2UQMetaObject@@B)
I've pleanty of googling but I am really at a loss.
here is my include directories:
i:\Qt\4.6.3\include\QtCore; i:\Qt\4.6.3\include\QtGui; i:\Qt\4.6.3\include; i:\Qt\4.6.3\include\ActiveQt; release; .; i:\Qt\4.6.3\mkspecs\win32-msvc2008
here is my libs linked:
i:\Qt\4.6.3\lib\QtGui4.lib; i:\Qt\4.6.3\lib\QtCore4.lib; gdi32.lib; comdlg32.lib; oleaut32.lib; imm32.lib; winmm.lib; winspool.lib; ws2_32.lib; ole32.lib; user32.lib; advapi32.lib; libpng.lib; msimg32.lib; shell32.lib; kernel32.lib; uuid.lib;
still need help with this.. :p anyone out there?