Results 1 to 2 of 2

Thread: can't make plugin dll

  1. #1
    Join Date
    Jul 2009
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default can't make plugin dll

    please help me ,i am a qt newer.
    i can't run a plugin example code in C++ GUI QT4, and the environment is qt 4.5-msvc2008.
    the pro file is

    TEMPLATE = lib
    CONFIG += designer plugin release
    HEADERS = ../iconeditor/iconeditor.h \ iconeditorplugin.h
    SOURCES = ../iconeditor/iconeditor.cpp \ iconeditorplugin.cpp
    RESOURCES = iconeditorplugin.qrc
    DESTDIR = $$[QT_INSTALL_PLUGINS]/designer

    i used "qmake -tp vc" to change pro to VC project.but when i compile it in VS2008,there is a error,"1>LINK : fatal error LNK1104: cannot open file 'c:\Qt\4.5-msvc2008\plugins\designer\iconeditorplugin.lib'"

  2. #2
    Join Date
    Jul 2009
    Posts
    9
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: can't make plugin dll

    1> Creating library c:\Qt\4.5-msvc2008\plugins\designer\iconeditorplugin.lib and object c:\Qt\4.5-msvc2008\plugins\designer\iconeditorplugin.exp
    1>LINK : fatal error LNK1104: cannot open file 'c:\Qt\4.5-msvc2008\plugins\designer\iconeditorplugin.lib'


    why the plugin's lib did't create successfully?

Similar Threads

  1. QMYSQL Plugin does not compile
    By mmaayeh in forum Qt Tools
    Replies: 1
    Last Post: 24th April 2009, 07:43
  2. Plugin implementation question
    By JPNaude in forum Qt Programming
    Replies: 12
    Last Post: 27th August 2008, 20:24
  3. Need help making plugin
    By vieraci in forum Qt Programming
    Replies: 10
    Last Post: 24th September 2007, 13:20
  4. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  5. getting qmake to make the plugin
    By illuzioner in forum Qt Tools
    Replies: 7
    Last Post: 6th June 2007, 16:49

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
  •  
Qt is a trademark of The Qt Company.