summaryrefslogtreecommitdiffstats
path: root/src/plugins/imageformats/mng/mng.pro
blob: df5cb18b49d67bde0e1bf94774a9ecb129686cfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
TARGET  = qmng
load(qt_plugin)

# QTDIR_build:REQUIRES = "!contains(QT_CONFIG, no-mng)"

HEADERS += qmnghandler_p.h
SOURCES += qmnghandler.cpp
OTHER_FILES += mng.json
contains(QT_CONFIG, system-mng) {
        if(unix|win32-g++*):LIBS += -lmng
        else:win32:         LIBS += libmng.lib
} else {
    include($$PWD/../../../3rdparty/libmng.pri)
    *-g++*: QMAKE_CFLAGS_WARN_ON += -Wno-unused-parameter
}

SOURCES += main.cpp

DESTDIR = $$QT.gui.plugins/imageformats
target.path += $$[QT_INSTALL_PLUGINS]/imageformats
INSTALLS += target