Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Feb 2007 04:03:37 +0300 (MSK)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/109508: devel/qmake4: qmake4 uses uic/moc from qt3
Message-ID:  <20070225010338.01F12404F@hades.panopticon>
Resent-Message-ID: <200702250110.l1P1A5wI019955@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         109508
>Category:       ports
>Synopsis:       devel/qmake4: qmake4 uses uic/moc from qt3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 25 01:10:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p12 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p12 FreeBSD 6.1-RELEASE-p12 #0: Tue Jan 16 23:12:21 MSK 2007 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:
It seems like qmake4 erroneously uses moc & uic executables from qt3. Here's proof of that:

I've created simple project file:

$ cat tmp.pro
message($$QMAKE_MOC)
message($$QMAKE_UIC)

Now let's test it with qmake3:

$ qmake
Project MESSAGE: /usr/X11R6/bin/moc
Project MESSAGE: /usr/X11R6/bin/uic

All, OK, paths are correct. Now let us try qmake4 instead:

$ qmake-qt4
Project MESSAGE: /usr/X11R6/bin/moc
Project MESSAGE: /usr/X11R6/bin/uic

The same paths! This is obviosly wrong.

I'm not quite sure if qmake4 should use tools from qt4, but one thing is clear: this breaks cmake's (devel/cmake) ability to detect correct tools to use with qt4 projects.

>How-To-Repeat:
See above

>Fix:
None ATM :(

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070225010338.01F12404F>