Browse Source

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

r14.0.x
Timothy Pearson 9 years ago
parent
commit
dd5447a3f8
  1. 16
      lib/lib.pro
  2. 0
      lib/tdeqt4painter.cpp
  3. 0
      lib/tdeqt4painter.h
  4. 16
      plugin/plugin.pro
  5. 7
      styleplugin.pro

16
lib/lib.pro

@ -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

0
plugin/tdeqt4painter.cpp → lib/tdeqt4painter.cpp

0
plugin/tdeqt4painter.h → lib/tdeqt4painter.h

16
plugin/plugin.pro

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

7
styleplugin.pro

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