qmake doesn't seem to be qxt aware

Bug #877762 reported by Graham Rowlands
24
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libqxt (Debian)
Fix Released
Unknown
libqxt (Ubuntu)
Fix Released
Undecided
Unassigned
Oneiric
Fix Released
Undecided
Unassigned

Bug Description

[Impact] makespec files for qmake are missing making the package unuseable for development.

[Fix] install the makespec files

[Test Case]
apt-get source libqxt
cd libqxt-0.6.1/examples/web/
qmake
make

expected result: a successful build
real result: build error due to missing compiler flags, e.g.: fatal error: QxtHttpServerConnector: No such file or directory

[Regression Potential]
very low, no rdepends and only installs a few more files

original report:
After reading the qxt docs, I'm under the impression that (ideally) we can add the lines:
CONFIG += qxt
QXT += core gui
to a qt .pro file and have qmake automatically insert the relevant -I (upper-case i ) and -l (lower-case L) flags in the generated Makefile. This does not seem to be the case. Is qmake aware of the existence of qxt after installation?

Revision history for this message
Ulrik Mikaelsson (rawler) wrote :

I've also got problems with this. I found the problem, the mkspecs is missing in the -dev package.

AFAICT, this pretty much breaks the entire package, since (again AFAICT) nothing can use it in Oneiric as-is. Also, I failed to find a single package actually using libqxt.

I vote for SRU.

Revision history for this message
Ulrik Mikaelsson (rawler) wrote :

diff -Nru libqxt-0.6.1/debian/changelog libqxt-0.6.1/debian/changelog
--- libqxt-0.6.1/debian/changelog 2011-09-27 12:20:21.000000000 +0200
+++ libqxt-0.6.1/debian/changelog 2011-11-09 09:29:27.000000000 +0100
@@ -1,3 +1,9 @@
+libqxt (0.6.1-3ubuntu1um1) oneiric; urgency=low
+
+ * Add mkspec/features to -dev.
+
+ -- Ulrik Mikaelsson <email address hidden> Wed, 09 Nov 2011 09:28:20 +0100
+
 libqxt (0.6.1-3ubuntu1) oneiric; urgency=low

   * Expect qt plugins in multiarch location. LP: #831083.
diff -Nru libqxt-0.6.1/debian/libqxt-dev.install libqxt-0.6.1/debian/libqxt-dev.install
--- libqxt-0.6.1/debian/libqxt-dev.install 2011-02-03 22:19:49.000000000 +0100
+++ libqxt-0.6.1/debian/libqxt-dev.install 2011-11-09 09:26:49.000000000 +0100
@@ -1,2 +1,3 @@
 usr/include/qxt/*
 usr/lib/lib*.so
+usr/share/qt4/mkspecs/features/*

Changed in libqxt (Debian):
status: Unknown → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in libqxt (Ubuntu):
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqxt - 0.6.1-4ubuntu2

---------------
libqxt (0.6.1-4ubuntu2) precise; urgency=low

  * install mkspec files in -dev package. (LP: #877762)
 -- Ulrik Mikaelsson <email address hidden> Wed, 28 Dec 2011 17:44:18 +0100

Changed in libqxt (Ubuntu):
status: Confirmed → Fix Released
Julian Taylor (jtaylor)
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Hello Graham, or anyone else affected,

Accepted libqxt into oneiric-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in libqxt (Ubuntu Oneiric):
status: New → Fix Committed
tags: added: verification-needed
Changed in libqxt (Debian):
status: Fix Committed → Fix Released
Revision history for this message
Julian Taylor (jtaylor) wrote :

the package in proposed fixes the isses and there were no regressions reported.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libqxt - 0.6.1-3ubuntu1.1

---------------
libqxt (0.6.1-3ubuntu1.1) oneiric-proposed; urgency=low

  * install mkspec files in -dev package. (LP: #877762)
 -- Ulrik Mikaelsson <email address hidden> Wed, 28 Dec 2011 18:21:22 +0100

Changed in libqxt (Ubuntu Oneiric):
status: Fix Committed → Fix Released
Revision history for this message
Graham Rowlands (grahamrow) wrote :

Works great now. Thanks.

Think this is broken in Fedora 17 though :p

Best,
Graham

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.