Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place
@ 2012-04-14 11:54 bugzilla at busybox.net
  2012-04-14 16:47 ` [Buildroot] [Bug 5102] " bugzilla at busybox.net
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-04-14 11:54 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5102

           Summary: qt package moc, uic, rcc read from wrong place
           Product: buildroot
           Version: 2012.02
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: mehsamadi at yahoo.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


when cross compiling qt, building application with cross compiled qmake creates
a wrong location for moc, uic, and rcc in Makefile.
qmake expect finding moc in host/usr/arm-unknown-linux-uclibcgnueabi/usr/bin/
while the actual files are located in the host/usr/bin/

I compiled this with 2011.11 and it was ok. I guess this is something that is
introduced in 2012.02.

Thank you
sorry for bad english. :-)

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 5102] qt package moc, uic, rcc read from wrong place
  2012-04-14 11:54 [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place bugzilla at busybox.net
@ 2012-04-14 16:47 ` bugzilla at busybox.net
  2012-04-15  5:32 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-04-14 16:47 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5102

--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-04-14 16:47:09 UTC ---
That seems strange, because there were only two commits relative to the Qt
package between 2011.11 and 2012.12 and none of them could have affected the
location of moc, uic, rcc, etc. Can you please post the Buildroot configuration
you're using, and the build errors you have (full build log would be nice) ?

The following two commits that took place are:

commit 1e39b8a6ff5ba330688bc1a60d1e509d716b6900
Author: Frederik Pasch <fpasch@googlemail.com>
Date:   Thu Feb 9 21:20:12 2012 +0100

    qt: needs host-pkg-config

    Closes #4760

    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

diff --git a/package/qt/qt.mk b/package/qt/qt.mk
index 28a477a..34f05f9 100644
--- a/package/qt/qt.mk
+++ b/package/qt/qt.mk
@@ -15,7 +15,7 @@
 QT_VERSION = 4.7.4
 QT_SOURCE  = qt-everywhere-opensource-src-$(QT_VERSION).tar.gz
 QT_SITE    = http://get.qt.nokia.com/qt/source
-
+QT_DEPENDENCIES = host-pkg-config
 QT_INSTALL_STAGING = YES

 ifeq ($(BR2_PACKAGE_QT_LICENSE_APPROVED),y)

commit d018125508c1d13f69b71702384c00c7095986a1
Author: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Date:   Fri Jan 27 00:41:30 2012 +0100

    qt: qt-dbus: replace dependency on dbus by select

    Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
    Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>

diff --git a/package/qt/Config.in b/package/qt/Config.in
index ab231d9..3a552d0 100644
--- a/package/qt/Config.in
+++ b/package/qt/Config.in
@@ -280,12 +280,9 @@ config BR2_PACKAGE_QT_PHONON_BACKEND
          If unsure, say n.
 endif

-comment "Qt Dbus module not available (needs dbus)"
-       depends on !BR2_PACKAGE_DBUS
-
 config BR2_PACKAGE_QT_DBUS
        bool "DBus Module"
-       depends on BR2_PACKAGE_DBUS
+       select BR2_PACKAGE_DBUS
        help
          Build the Qt DBus module.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 5102] qt package moc, uic, rcc read from wrong place
  2012-04-14 11:54 [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place bugzilla at busybox.net
  2012-04-14 16:47 ` [Buildroot] [Bug 5102] " bugzilla at busybox.net
@ 2012-04-15  5:32 ` bugzilla at busybox.net
  2012-04-25 15:40 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-04-15  5:32 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5102

--- Comment #2 from mehdi <mehsamadi@yahoo.com> 2012-04-15 05:32:58 UTC ---
Created attachment 4274
  --> https://bugs.busybox.net/attachment.cgi?id=4274
qt cross compile log

Buildroot compilation have no error but when I try to cross compile a qt
application it gives me an error. I tried to cross compile spreadsheet example
of qt. I set QMAKESPEC=/arm-linux-qt/mkspecs/qws/linux-arm-g++. Here is the
Makefile that qmake created( qmake.Makefile ).
I followed it to qt compilation and the config.status(
buildroot.qt.config.status) of qt source has this : 
-hostprefix
/home/emb/projects/logger/build-tools/buildroot-2012.02/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot
that could be the cause.

here is the cross compilation commands and the error:

qt-book/chap03/spreadsheet> /arm-linux-qt/bin/qmake -project
qt-book/chap03/spreadsheet> /arm-linux-qt/bin/qmake spreadsheet.pro 
qt-book/chap03/spreadsheet> make
buildroot-2012.02/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/bin/uic
gotocelldialog.ui -o ui_gotocelldialog.h
make:
buildroot-2012.02/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/bin/uic:
Command not found
make: *** [ui_gotocelldialog.h] Error 127

if I copy uic and moc and rcc to
buildroot-2012.02/output/host/usr/arm-unknown-linux-uclibcgnueabi/sysroot/usr/bin/
from buildroot-2012.02/output/host/usr/bin
it compiles fine. But with same configuration by suing 2011.11 version It tries
to run uic and all from correct place.

Thanx for your time and great job with buildroot :-).

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 5102] qt package moc, uic, rcc read from wrong place
  2012-04-14 11:54 [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place bugzilla at busybox.net
  2012-04-14 16:47 ` [Buildroot] [Bug 5102] " bugzilla at busybox.net
  2012-04-15  5:32 ` bugzilla at busybox.net
@ 2012-04-25 15:40 ` bugzilla at busybox.net
  2012-04-28 19:49 ` bugzilla at busybox.net
  2012-04-28 20:24 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-04-25 15:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5102

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-04-25 15:40:54 UTC ---
I think you're using the wrong qmake. You should be executing the qmake from
output/host/usr/bin/qmake.

I'll try to find the source code of your example and build it.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 5102] qt package moc, uic, rcc read from wrong place
  2012-04-14 11:54 [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2012-04-25 15:40 ` bugzilla at busybox.net
@ 2012-04-28 19:49 ` bugzilla at busybox.net
  2012-04-28 20:24 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-04-28 19:49 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5102

--- Comment #4 from mehdi <mehsamadi@yahoo.com> 2012-04-28 19:49:30 UTC ---
thanx that solved the problem. :-)

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Buildroot] [Bug 5102] qt package moc, uic, rcc read from wrong place
  2012-04-14 11:54 [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2012-04-28 19:49 ` bugzilla at busybox.net
@ 2012-04-28 20:24 ` bugzilla at busybox.net
  4 siblings, 0 replies; 6+ messages in thread
From: bugzilla at busybox.net @ 2012-04-28 20:24 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=5102

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-04-28 20:24:42 UTC ---
Thanks for reporting. Marking the bugs as fixed, worksforme.

-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-04-28 20:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-04-14 11:54 [Buildroot] [Bug 5102] New: qt package moc, uic, rcc read from wrong place bugzilla at busybox.net
2012-04-14 16:47 ` [Buildroot] [Bug 5102] " bugzilla at busybox.net
2012-04-15  5:32 ` bugzilla at busybox.net
2012-04-25 15:40 ` bugzilla at busybox.net
2012-04-28 19:49 ` bugzilla at busybox.net
2012-04-28 20:24 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox