Split TDE/Qt4 interface library out and install files into correct locations

r14.0.x
Timothy Pearson 13 years ago
parent 7ed40f5c48
commit dd5447a3f8

@ -0,0 +1,16 @@
#! [0]
TEMPLATE = lib
HEADERS = tdeqt4painter.h
SOURCES = tdeqt4painter.cpp
TARGET = tdeqt4interface
INCLUDEPATH += /usr/include/tqt3
INCLUDEPATH += /usr/include/tqt3/private
INCLUDEPATH += /usr/include/tqt
INCLUDEPATH += /opt/trinity/include
LIBS += -L/usr/lib -ltqt -ltqt-mt -L /opt/trinity/lib -lDCOP -ltdecore -ltdeui -lkio
# install
target.path = $$[QT_INSTALL_LIBS]/styles
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS
INSTALLS += target sources

@ -2,25 +2,19 @@
TEMPLATE = lib TEMPLATE = lib
CONFIG += plugin CONFIG += plugin
HEADERS = simplestyle.h \ HEADERS = simplestyle.h \
simplestyleplugin.h \ simplestyleplugin.h
tdeqt4painter.h
SOURCES = simplestyle.cpp \ SOURCES = simplestyle.cpp \
simplestyleplugin.cpp \ simplestyleplugin.cpp
tdeqt4painter.cpp
TARGET = simplestyleplugin TARGET = simplestyleplugin
INCLUDEPATH += /usr/include/tqt3 INCLUDEPATH += /usr/include/tqt3
INCLUDEPATH += /usr/include/tqt3/private INCLUDEPATH += /usr/include/tqt3/private
INCLUDEPATH += /usr/include/tqt INCLUDEPATH += /usr/include/tqt
INCLUDEPATH += /opt/trinity/include INCLUDEPATH += /opt/trinity/include
LIBS += -L/usr/lib -ltqt -ltqt-mt -L /opt/trinity/lib -lDCOP -ltdecore -ltdeui -lkio INCLUDEPATH += ../lib
LIBS += -L/usr/lib -ltqt -ltqt-mt -L/opt/trinity/lib -lDCOP -ltdecore -ltdeui -lkio -L../lib -ltdeqt4interface
#! [0]
DESTDIR = ../styles/
# install # install
# target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/styles
target.path = $$[QT_INSTALL_PLUGINS]/styles target.path = $$[QT_INSTALL_PLUGINS]/styles
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS plugin.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin/plugin INSTALLS += target
INSTALLS += target sources

@ -1,8 +1,7 @@
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS = plugin SUBDIRS = lib plugin
# install # install
target.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin target.path = $$[QT_INSTALL_PLUGINS]/styles
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS styleplugin.pro sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS styleplugin.pro
sources.path = $$[QT_INSTALL_EXAMPLES]/tools/styleplugin INSTALLS += target
INSTALLS += target sources

Loading…
Cancel
Save