diff options
author | Olivier Tilloy <olivier.tilloy@canonical.com> | 2012-10-05 15:26:44 +0000 |
---|---|---|
committer | Tarmac <> | 2012-10-05 15:26:44 +0000 |
commit | a03e7e775a9751f87efb8fd7acf226b5eb25f4e3 (patch) | |
tree | 7ca7cfb2dd1e42c6c0d45918087c23fbf09dc5ae /debian | |
parent | c3fbab270f60fc374bae50e787e0b2046f127a07 (diff) | |
parent | 900b75e3528ea23b9158c52e43bca905a1ee5e5f (diff) | |
download | qmenumodel-a03e7e775a9751f87efb8fd7acf226b5eb25f4e3.tar.gz qmenumodel-a03e7e775a9751f87efb8fd7acf226b5eb25f4e3.tar.bz2 qmenumodel-a03e7e775a9751f87efb8fd7acf226b5eb25f4e3.zip |
Port to Qt5.
To compile and test, one needs to install the qt5-meta-minimal package from the Canonical Qt5 Edgers PPA (https://launchpad.net/~canonical-qt5-edgers/+archive/qt5-beta1). This installs Qt5 in /opt/qt5/. cmake needs to be invoked with CMAKE_PREFIX_PATH=/opt/qt5/lib/cmake, and /opt/qt5/bin needs to be added to $PATH if one wants to generate the API documentation using qdoc.. Approved by Renato Araujo Oliveira Filho, jenkins.
Diffstat (limited to 'debian')
-rw-r--r-- | debian/changelog | 1 | ||||
-rw-r--r-- | debian/control | 5 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 6 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index c855594..5cc0dbf 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,7 @@ qmenumodel (0.1.1) UNRELEASED; urgency=low * Renaming source package to qmenumodel + * Port to Qt5 -- Olivier Tilloy <olivier.tilloy@canonical.com> Thu, 04 Oct 2012 17:37:23 +0200 diff --git a/debian/control b/debian/control index e07ea3a..211a3c1 100644 --- a/debian/control +++ b/debian/control @@ -4,9 +4,10 @@ Priority: optional Maintainer: Renato Araujo Oliveira Filho <renato@canonical.com> Build-Depends: debhelper (>= 8.0.0), cdbs, - cmake, + cmake (>= 2.8.9), libglib2.0-dev, - libqt4-dev, + qtbase (>= 5.0), + qtdeclarative (>= 5.0), Standards-Version: 3.9.2 Package: qmenumodel-qml diff --git a/debian/rules b/debian/rules index 07ae845..2756628 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,8 @@ #!/usr/bin/make -f # -*- makefile -*- +DEB_CMAKE_EXTRA_FLAGS = -DCMAKE_PREFIX_PATH=/opt/qt5/lib/cmake + include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/rules/utils.mk include /usr/share/cdbs/1/class/cmake.mk |