Results 1 to 2 of 2

Thread: Error while creating a plugin for Qt

  1. #1
    Join Date
    Jun 2010
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Error while creating a plugin for Qt

    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
    Thanks and Kind Regards,
    Mahendra Panpalia,
    Senior Qt Developer,
    Email: panpaliamahen@gmail.com
    Contact: +44 790-931-5397

  2. #2
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Error while creating a plugin for Qt

    Build and install the basic tools plugin first.

Similar Threads

  1. Qt plugin for Eclipse not creating Makefile
    By di_zou in forum Qt Tools
    Replies: 2
    Last Post: 15th October 2009, 15:36
  2. Issues creating MySql Plugin on Windows
    By NicholasSmith in forum Installation and Deployment
    Replies: 2
    Last Post: 29th April 2009, 09:04
  3. creating a dylib for a plugin with external classes
    By themolecule in forum Qt Programming
    Replies: 4
    Last Post: 23rd July 2008, 14:22
  4. Replies: 4
    Last Post: 9th August 2007, 08:20
  5. creating table plugin
    By mgurbuz in forum Qt Programming
    Replies: 3
    Last Post: 28th April 2006, 13:50

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.