panpaliamahen
7th August 2010, 18:28
Hi,
I am trying to compile following Qt example about creating Qt plugin on windows 7
http://doc.qt.nokia.com/4.5/tools-plugandpaint.html
And getting following linking errors even though i have made sure that it is linking to correct library.
Looking forward for any feedback.
Thanks and KInd Regards,
Mahendra
Running build steps for project plugandpaint...
Configuration unchanged, skipping qmake step.
Starting: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" -w
mingw32-make: Entering directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
c:\qt\2010.04\qt\bin\qmake.exe -spec ..\..\..\mkspecs\win32-g++ -win32 -o Makefile ..\plugandpaint\plugandpaint.pro
mingw32-make: Leaving directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
mingw32-make: Entering directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
C:/Qt/2010.04/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\plugandpaint.exe tmp/obj/debug_shared/main.o tmp/obj/debug_shared/mainwindow.o tmp/obj/debug_shared/paintarea.o tmp/obj/debug_shared/plugindialog.o tmp/obj/debug_shared/moc_mainwindow.o tmp/obj/debug_shared/moc_paintarea.o tmp/obj/debug_shared/moc_plugindialog.o -L"c:\Qt\2010.04\qt\lib" -L"c:\Qt\2010.04\qt\lib" -lmingw32 -lqtmaind -LC:/Qt/2010.04/qt/examples/tools/plugandpaint/plugins -lpnp_basictoolsd -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
mingw32-make: Leaving directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
c:/qt/2010.04/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lpnp_basictoolsd
I am trying to compile following Qt example about creating Qt plugin on windows 7
http://doc.qt.nokia.com/4.5/tools-plugandpaint.html
And getting following linking errors even though i have made sure that it is linking to correct library.
Looking forward for any feedback.
Thanks and KInd Regards,
Mahendra
Running build steps for project plugandpaint...
Configuration unchanged, skipping qmake step.
Starting: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" -w
mingw32-make: Entering directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
c:\qt\2010.04\qt\bin\qmake.exe -spec ..\..\..\mkspecs\win32-g++ -win32 -o Makefile ..\plugandpaint\plugandpaint.pro
mingw32-make: Leaving directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
mingw32-make: Entering directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
C:/Qt/2010.04/mingw/bin/mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
g++ -enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -mthreads -Wl -Wl,-subsystem,windows -o debug\plugandpaint.exe tmp/obj/debug_shared/main.o tmp/obj/debug_shared/mainwindow.o tmp/obj/debug_shared/paintarea.o tmp/obj/debug_shared/plugindialog.o tmp/obj/debug_shared/moc_mainwindow.o tmp/obj/debug_shared/moc_paintarea.o tmp/obj/debug_shared/moc_plugindialog.o -L"c:\Qt\2010.04\qt\lib" -L"c:\Qt\2010.04\qt\lib" -lmingw32 -lqtmaind -LC:/Qt/2010.04/qt/examples/tools/plugandpaint/plugins -lpnp_basictoolsd -lQtGuid4 -lQtCored4
mingw32-make[1]: Leaving directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
mingw32-make: Leaving directory `C:/Qt/2010.04/qt/examples/tools/plugandpaint-build-desktop'
c:/qt/2010.04/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lpnp_basictoolsd