Skip to content

Commit

Permalink
Drop qt4 related packaging.
Browse files Browse the repository at this point in the history
[packaging] Drop qt4 related packaging.

Signed-off-by: Marko Saukko <marko.saukko@jolla.com>
  • Loading branch information
saukko committed Mar 15, 2015
1 parent 00f94a6 commit 2fd7269
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 122 deletions.
13 changes: 2 additions & 11 deletions connman-qt.pro
Expand Up @@ -15,14 +15,5 @@ include(coverage.pri)
example {
SUBDIRS += examples/counters
}
equals(QT_MAJOR_VERSION, 4): {
# CONFIG flag to disable automatic test
!notests {
# fixme for qt5
SUBDIRS += tests
}
OTHER_FILES += rpm/connman-qt.spec
}
equals(QT_MAJOR_VERSION, 5): {
OTHER_FILES += rpm/connman-qt5.spec
}

OTHER_FILES += rpm/connman-qt5.spec
3 changes: 0 additions & 3 deletions examples/counters/counters.pro
Expand Up @@ -13,9 +13,6 @@ isEmpty(TARGET_SUFFIX) {
}
PKGCONFIG += connman-$$TARGET_SUFFIX

equals(QT_MAJOR_VERSION, 4): {
QT -= gui
}
SOURCES += main.cpp \
networkcounter.cpp

Expand Down
13 changes: 3 additions & 10 deletions plugin/plugin.pro
Expand Up @@ -14,18 +14,11 @@ isEmpty(TARGET_SUFFIX) {

LIBS += -l$$qtLibraryTarget(connman-$$TARGET_SUFFIX)

equals(QT_MAJOR_VERSION, 4): {
QT += declarative
}

equals(QT_MAJOR_VERSION, 5): {
QT += qml
OTHER_FILES += plugin.json qmldirs
}
QT += qml
OTHER_FILES += plugin.json qmldirs

MODULENAME = MeeGo/Connman
equals(QT_MAJOR_VERSION, 4): TARGETPATH = $$[QT_INSTALL_IMPORTS]/$$MODULENAME
equals(QT_MAJOR_VERSION, 5): TARGETPATH = $$[QT_INSTALL_QML]/$$MODULENAME
TARGETPATH = $$[QT_INSTALL_QML]/$$MODULENAME

target.path = $$TARGETPATH
qmldir.files += qmldir
Expand Down
98 changes: 0 additions & 98 deletions rpm/connman-qt.spec

This file was deleted.

0 comments on commit 2fd7269

Please sign in to comment.