Opened 18 years ago

Closed 17 years ago

Last modified 17 years ago

#2128 closed enhancement (fixed)

configure switch for qmake missing

Reported by: anonymous Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version:
Severity: medium Keywords:
Cc: Ticket locked: no

Description

--with-qmake=/usr/qt/3/bin or equivalent for users with qt3 and qt4 installed

Attachments (4)

configure-qmake.diff (1.1 KB) - added by anonymous 18 years ago.
configure-qmake-mythplugins.diff (1.1 KB) - added by anonymous 18 years ago.
qmake_path.diff (1.3 KB) - added by Janne <janne-mythtv@…> 17 years ago.
qmake-env.diff (280 bytes) - added by Stefan Haflidason <stefan+mythtv@…> 17 years ago.
Patch to make use of QTDIR env. variable when selecting the version of qmake to run. This change is automatically propagated to .pro files in subdirectories.

Download all attachments as: .zip

Change History (15)

comment:1 Changed 18 years ago by Stuart Auchterlonie

Resolution: invalid
Status: newclosed

Patch is missing. Reopen with patch fixing the problem.

Changed 18 years ago by anonymous

Attachment: configure-qmake.diff added

comment:2 Changed 18 years ago by anonymous

Resolution: invalid
Status: closedreopened

Changed 18 years ago by anonymous

comment:3 Changed 18 years ago by Isaac Richards

Resolution: invalid
Status: reopenedclosed

Does this really need to manually run qmake on all the directories in the tree?

Changed 17 years ago by Janne <janne-mythtv@…>

Attachment: qmake_path.diff added

comment:4 Changed 17 years ago by Janne <janne-mythtv@…>

qmake is stupid, attached patch does only work for the top level Makefile

comment:5 Changed 17 years ago by Stefan Haflidason <stefan+mythtv@…>

Resolution: invalid
Status: closedreopened

On systems with both the 3.x and 4.x branches of Qt installed, the version of qmake in the PATH is likely to be that of Qt4, thus pulling in Qt4's header files.

This is the case with Gentoo. Changing the call to qmake in the configure script to make use of the QTDIR env. variable allows the building of trunk on such a system.

With this method the .pro files in subdirectories don't need to be modified as qmake propagates the QMAKE variable which now points to the correct (Qt3) version of qmake.

Changed 17 years ago by Stefan Haflidason <stefan+mythtv@…>

Attachment: qmake-env.diff added

Patch to make use of QTDIR env. variable when selecting the version of qmake to run. This change is automatically propagated to .pro files in subdirectories.

comment:6 Changed 17 years ago by stuartm

Resolution: fixed
Status: reopenedclosed

(In [14212]) Use $QTDIR to find the correct (qt3) qmake on systems with qt4 installed.

Applies patch by Stefan Haflidason

Fixes #2128

comment:7 Changed 17 years ago by Janne Grunau

(In [14213]) Refs #2128. Fixes typo in [14212] mythplugins/configure

comment:8 Changed 17 years ago by stuartm

(In [14214]) Backports [14212] to -fixes.

Use $QTDIR to find the correct (qt3) qmake on systems with qt4 installed.

Refs #2128

comment:9 Changed 17 years ago by stuartm

(In [14217]) Configure fix for systems where QTDIR is not defined and would fail with the changes made in [14214]

Refs #2128

comment:10 Changed 17 years ago by stuartm

(In [14219]) Actually fix #2128

Lets see if I can get this right the third time around.

comment:11 Changed 17 years ago by stuartm

(In [14221]) Refs #2128

Backport configure fix to -fixes for systems where QTDIR is not defined and would fail with the changes made in [14214]

Note: See TracTickets for help on using tickets.