summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/jp2
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@qt.io>2018-05-15 14:35:48 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2019-04-02 09:15:40 +0000
commita33e3aeac74c8fc8d1fff7a244083d96f9bba70f (patch)
tree709a48beb8b7ee484b3c5d57fbbaa54315091f41 /src/plugins/imageformats/jp2
parentdbfcea2a638d9223bb8d4d9ffc63b0d294b9f97d (diff)
Move qtimageformats over to the new config system
Task-number: QTBUG-44318 Task-number: QTBUG-62259 Change-Id: Ide5c28015c46b12ee3f21d06badd69db8bed1281 Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/plugins/imageformats/jp2')
-rw-r--r--src/plugins/imageformats/jp2/jp2.pro6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/imageformats/jp2/jp2.pro b/src/plugins/imageformats/jp2/jp2.pro
index 4caeff3..d9fb4fa 100644
--- a/src/plugins/imageformats/jp2/jp2.pro
+++ b/src/plugins/imageformats/jp2/jp2.pro
@@ -5,8 +5,10 @@ SOURCES += main.cpp \
qjp2handler.cpp
OTHER_FILES += jp2.json
-msvc: LIBS += libjasper.lib
-else: LIBS += -ljasper
+include($$OUT_PWD/../../../imageformats/qtimageformats-config.pri)
+QT_FOR_CONFIG += imageformats-private
+
+QMAKE_USE_PRIVATE += jasper
PLUGIN_TYPE = imageformats
PLUGIN_CLASS_NAME = QJp2Plugin