From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 4297] New: Qt's qmake uses wrong pkg-config
Date: Wed, 12 Oct 2011 12:51:36 +0000 (UTC) [thread overview]
Message-ID: <bug-4297-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=4297
Summary: Qt's qmake uses wrong pkg-config
Product: buildroot
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: buildroot at bluespirit.la
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Creating a toolchain for ARM with the latest Qt library will install it's
libraries and QMAKESPECs. Theses QMAKESPECs have the CXXFLAGS and the correct
compiler, but don't address the pkg-config location.
If using pkg-config with qmake, it calls pkg-config from /usr/bin which causes
wrong include dirs.
########## Example ##########
Write to your *.pro file:
# see
http://doc.trolltech.com/4.6/qmake-project-files.html#configuration-features
CONFIG += link_pkgconfig
PKGCONFIG += fuse
If the wrong pkg-config is used, the include directory points to
"-I/usr/include/fuse" - otherwise to a directory inside your toolchain.
########## Patch ############
$ diff -u qws/linux-arm-g++/qmake.conf.orig qws/linux-arm-g++/qmake.conf
--- qws/linux-arm-g++/qmake.conf.orig 2011-10-12 14:47:49.000000000 +0200
+++ qws/linux-arm-g++/qmake.conf 2011-10-12 14:41:34.000000000 +0200
@@ -17,6 +17,9 @@
QMAKE_CXX = /opt/damian/toolchain-arm/usr/bin/arm-none-linux-gnueabi-g++
QMAKE_CC = /opt/damian/toolchain-arm/usr/bin/arm-none-linux-gnueabi-gcc
+# Define Path to the correct pkg-config
+PKG_CONFIG = /opt/damian/toolchain-arm/usr/bin/pkg-config
+
# modifications to g++.conf
# modifications to linux.conf
I'm using buildroot 2011.08 with the CodeSoucery 2009q1 toolchain.
--
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.
next reply other threads:[~2011-10-12 12:51 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-12 12:51 bugzilla at busybox.net [this message]
2011-10-12 12:53 ` [Buildroot] [Bug 4297] Qt's qmake uses wrong pkg-config bugzilla at busybox.net
2011-10-12 13:11 ` bugzilla at busybox.net
2011-11-18 11:10 ` bugzilla at busybox.net
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-4297-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox