【发布时间】:2016-03-30 01:42:46
【问题描述】:
刚刚从 qt-unified-windows-x86-2.0.3-online.exe 重新安装了 Qt(MSVC 2013 的 5.5 和 5.6 版本,32 和 64 位)。我的自定义 Qt Designer 插件停止安装到 C:\Qt\5.5\msvc2013\plugins\designer 目录。以前使用 qt-unified-windows-x86-2.0.2-online.exe 和 Qt 5.5 可以正常工作。尝试显式设置以前不需要的 QT_PLUGIN_PATH - 也不起作用。这里有什么问题? pro文件不变的是:
CONFIG += plugin debug_and_release
TARGET = $$qtLibraryTarget(WidgetBoxPlugin)
TEMPLATE = lib
HEADERS = widgetboxplugin.h widgetbox.h \
widgetboxextensionfactory.h \
widgetboxdesignercontainerextension.h
SOURCES = widgetboxplugin.cpp widgetbox.cpp \
widgetboxextensionfactory.cpp \
widgetboxdesignercontainerextension.cpp
RESOURCES = icons.qrc
LIBS += -L.
greaterThan(QT_MAJOR_VERSION, 4) {
QT += designer
} else {
CONFIG += designer
}
target.path = $$[QT_INSTALL_PLUGINS]/designer
INSTALLS += target
【问题讨论】:
标签: qt plugins installation qt-designer qt5.5