diff options
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/imageformats/jp2/jp2.pro | 8 | ||||
-rw-r--r-- | src/plugins/imageformats/jp2/qjp2handler.pri | 10 |
2 files changed, 6 insertions, 12 deletions
diff --git a/src/plugins/imageformats/jp2/jp2.pro b/src/plugins/imageformats/jp2/jp2.pro index 89b9c55..4caeff3 100644 --- a/src/plugins/imageformats/jp2/jp2.pro +++ b/src/plugins/imageformats/jp2/jp2.pro @@ -1,9 +1,13 @@ TARGET = qjp2 -include(qjp2handler.pri) -SOURCES += main.cpp +HEADERS += qjp2handler_p.h +SOURCES += main.cpp \ + qjp2handler.cpp OTHER_FILES += jp2.json +msvc: LIBS += libjasper.lib +else: LIBS += -ljasper + PLUGIN_TYPE = imageformats PLUGIN_CLASS_NAME = QJp2Plugin load(qt_plugin) diff --git a/src/plugins/imageformats/jp2/qjp2handler.pri b/src/plugins/imageformats/jp2/qjp2handler.pri deleted file mode 100644 index 539daaa..0000000 --- a/src/plugins/imageformats/jp2/qjp2handler.pri +++ /dev/null @@ -1,10 +0,0 @@ -# common to plugin and built-in forms -INCLUDEPATH *= $$PWD -HEADERS += $$PWD/qjp2handler_p.h -SOURCES += $$PWD/qjp2handler.cpp -config_jasper { - msvc: LIBS += libjasper.lib - else: LIBS += -ljasper -} else { - include($$PWD/../../../3rdparty/jasper.pri) -} |