PDA

View Full Version : can't make plugin dll



aoo7wangyan
25th July 2009, 04:03
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'"

aoo7wangyan
25th July 2009, 10:09
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?