Q../Free: Problems with patched qmake (from Qt4.2.2 opensource)

Luis Gustavo Martins lmartins at inescporto.pt
Wed Mar 7 14:39:25 CET 2007


Hi,

I've just posted two bug reports in the Q../Free SF webpage. Anyway, you can
find bellow a copy of them for your reference.

Cheers,

Gustavo

*************************
Bugs item #1675687, was opened at 2007-03-07 13:10 Message generated for
change (Tracker Item Submitted) made by Item Submitter You can respond by
visiting: 
https://sourceforge.net/tracker/?func=detail&atid=455140&aid=1675687&group_i
d=49109

Please note that this message will contain a full copy of the comment
thread, including the initial issue submission, for this request, not just
the latest update.
Category: Qt4/compiler support
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luis Gustavo Martins (lgmartins) Assigned to: Nobody/Anonymous
(nobody)
Summary: qmake -t vcapp crashes

Initial Comment:
Using Qt4.2.2 opensource, and patching it with the latest qtwin patch
(acs-4.2.2-patch1.zip), qmake crashes when trying to create .vcproj
(MSVC2005).

This only happens if CONFIG does not include qt (i.e. CONFIG -= qt). If
CONFIG += qt, no crash occurs. 

This is a bit of a drag when trying to use qmake to build projects that do
not need qt.

*****************
Bugs item #1675732, was opened at 2007-03-07 13:34 Message generated for
change (Tracker Item Submitted) made by Item Submitter You can respond by
visiting: 
https://sourceforge.net/tracker/?func=detail&atid=455140&aid=1675732&group_i
d=49109

Please note that this message will contain a full copy of the comment
thread, including the initial issue submission, for this request, not just
the latest update.
Category: Qt4/compiler support
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Luis Gustavo Martins (lgmartins) Assigned to: Nobody/Anonymous
(nobody)
Summary: qnake LIBS problem

Initial Comment:
Using Qt4.2.2 opensource, and patching it with the latest qtwin patch
(acs-4.2.2-patch1.zip), qmake seems to handle the quotes in pathnames with
spaces differently from the commercial version.

For instance, the following lines in a .pro file work perfectly in qmake
4.2.2 commercial, both when generating nmake makefiles or when creating
.vcproj (MSVC2005) project files (using qmake - t vcapp). 

INCLUDEPATH += "$$(DXSDK_DIR)Include\"
LIBS += -luser32 -l winmm -ldsound -L\"$$(DXSDK_DIR)Lib\x86\" 
# NOTE: (DXSDK_DIR = C:\Program Files\Microsoft DirectX SDK (February 2006)\
)

However, using the patched qmake from Qt4.2.2 opensource to create .vcproj
(MSVC2005) project files, the corresponding LIBS path gets all wrong (the
INCLUDEPATH  seems to be working alright, though):

[...]
<Tool
Name="VCLinkerTool"

AdditionalDependencies="user32.lib dsound.lib Files\Microsoft DirectX SDK
(February 2007)\Lib\x86&quot; winmm.lib c:\Qt\4.2.2\lib\QtGuid4.lib
QtCored4.lib"
	
AdditionalLibraryDirectories="c:\Qt\4.2.2\lib,&quot;C:\Program,&quot;"
[...]

Notice the error the path c:\Program Files..., that gets split between the
AdditionalDependencies and AdditionalLibraryDirectories...


---------------------------------------
Luis Gustavo Martins
Researcher / PhD Student
lmartins at inescporto.pt
www.inescporto.pt/~lmartins
INESC Porto
Portugal
www.inescporto.pt 
---------------------------------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4705 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-cygwin/attachments/20070307/7c86a851/attachment.bin 


More information about the kde-cygwin mailing list