[Qt-creator] bug: Creator crashes on pro file with an include generated by system()
Ilkka Laukkanen
ilkka.laukkanen at sasken.com
Thu Feb 5 09:13:23 CET 2009
Hi,
I think I've found a bug with Qt Creator. In our project we use the same
trick as (I think) qmake uses in it's makespecs: a common library
package installs a .pri file containing common definitions like plugin
install paths. Other packages that depend on this common package then
include that .pri file in their .pro files. The location of the .pri
file is made available via pkg-config.
In the .pro files of the dependent packages, the .pri file is read like
this:
include($$system(pkg-config common-package --variable=common-pri))
With qmake, this works fine. However, Qt Creator gets stuck in a loop
trying to read that project file. I've created a small test project that
demonstrates this problem, it uses echo instead of pkg-config but the
effect is the same. The project is attached.
The system is an x86 Ubuntu 8.10, Qt version 4.5 (kinetic-animations git
branch). Creator is built from the git repo, rev
017e213b243cd7cf4cb9915a41af49d24f3b5f04 with the same Qt version.
--
Best regards,
Ilkka Laukkanen
SW Engineer
Sasken Finland Oy
Hermiankatu 12 B
FI-33720 Tampere
Tel. +358 40 539 3984, fax. +358 3 318 6100
ilkka.laukkanen at sasken.com
www.sasken.com www.sasken.fi
SASKEN BUSINESS DISCLAIMER
-------------------------
This message may contain confidential, proprietary or legally privileged information. In
case you are not the original intended Recipient of the message, you must not, directly or
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are
requested to delete it and inform the sender. Any views expressed in this message are
those of the individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by Sasken Communication
Technologies Limited ("Sasken") unless sent with that express intent and with due
authority of Sasken. Sasken has taken enough precautions to prevent the spread of
viruses. However the company accepts no liability for any damage caused by any virus
transmitted by this email
-------------- next part --------------
A non-text attachment was scrubbed...
Name: creatorcrash.tar.gz
Type: application/x-compressed-tar
Size: 384 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20090205/ad1fcbfe/attachment.bin
More information about the Qt-creator-old
mailing list