Bug 203845
Summary: | qt4: 4.2 escapes '\' differently than 4.1 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Deji Akingunola <dakingun> | ||||
Component: | qt4 | Assignee: | Rex Dieter <rdieter> | ||||
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | rawhide | CC: | extras-qa | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2006-08-30 13:44:04 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Deji Akingunola
2006-08-23 23:50:01 UTC
I'll try rebuilding it myself, and see how it goes. It may be worth asking upstream if they've tried/used qt-4.2 yet. Here's the difference: When using qt4-4.2, Makefile gets DEFINES as: DEFINES = -DPREFIX="/usr" ... and qt4-4.1 is DEFINES = -DPREFIX=\"/usr\" ... And, only the latter works. Thanks Rex. So who should provide the fix here, upstream or qt4-4.2? In any case I'm going to contact upstream about it. I'd say it's (mostly) qt4's fault here, the behavior changed between 4.1 and 4.2. I'll keep digging and report this to trolltech. Changing subject to match reality. Issue has also been reported to upstream mailing lists: qt-interest and qt4-preview-feedback. For now, I'd suggest simply patching texmaker.pro, patch forthcoming. Created attachment 135071 [details]
fix texmaker build against qt-4.2
Confirmed that the qt-4.2.0-20060821 snapshot exibits the same (bad) behavior. (In reply to comment #7) > Created an attachment (id=135071) [edit] > fix texmaker build against qt-4.2 > Thanks, that works. Got the official word from upstream that this is expected behavior (marking WONTFIX). Here's an example on how to make .pro code that uses escapes work with all qt4 versions. ------------------- The "best" solution available is: contains($$list($$[QT_VERSION]), 4.2.*) { DEFINES += FOO=\\\"$(FOO)\\\" } else { DEFINES += FOO=\"$(FOO)\" } This will allow a single .pro to work with <4.2.x as well as beyond. ------------------- o.k, I'll just stick with your initial patch for now. Thanks |