[X2Go-Dev] [XREF] [Qt bugreports] (QTBUG-24729) Out of source building for App bundles broken (Info.plist and ICON)
Mihai Moldovan
ionic at ionic.de
Mon Mar 12 05:15:08 CET 2012
And this is why I don't like qmake. ;)
-------- Original Message --------
Mihai Moldovan created QTBUG-24729:
--------------------------------------
Summary: Out of source building for App bundles broken (Info.plist and ICON)
Key: QTBUG-24729
URL: https://bugreports.qt-project.org/browse/QTBUG-24729
Project: Qt
Issue Type: Bug
Components: Build tools: qmake
Affects Versions: 4.8.0, 4.7.4
Reporter: Mihai Moldovan
Assignee: Oswald Buddenhagen
Attachments: qt.patch
Out of source building is currently broken when adding a custom Info.list file (and consequently also an icon) on Mac OS X.
Consider this layout:
src/
app.pro
Info.plist
icon.icns
build/
app.app (to be created by make)
Go to build and run qmake ../app.pro.
The problem lies within qmake, which "fixifies" the Info.plist path from "Info.plist" to "../Info.plist" and then can't find the find the file anymore, as qmake changes the cwd to the .pro file's directory (thus, in this example, src/).
Add both parameters out_d and in_d to MakefileGenerator::fileFixify as Option::output_dir to prevent qmake from "fixing" the file path to a path relative from the (out of source) build dir to the source dir, so that exists() can actually find the file where ever it is, specified by the user and relative to the source dir.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4369 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20120312/97017cd5/attachment.bin>
More information about the x2go-dev
mailing list