Bug 602361
Summary: | qt 4.7: sqliteman fails to build | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Terje Røsten <terje.rosten> | ||||
Component: | sqliteman | Assignee: | Terje Røsten <terje.rosten> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | rawhide | CC: | itamar, jreznik, kevin, ltinkl, petr, rdieter, smparrish, terje.rosten, than | ||||
Target Milestone: | --- | Keywords: | Patch, Reopened | ||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-06-16 21:09:22 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: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 599939 | ||||||
Attachments: |
|
Description
Terje Røsten
2010-06-09 17:09:41 UTC
sqliteman will require patching to remove any instances of ambiguous QString(0), which was silently accepted with < qt-4.7 I take that back, not just 0, any instance of QString(foo), where foo is of type int. That was my fear :-) Thanks for the quick response! Actually, QString(non-0 integer) was never accepted. 0 is special in C++, it can be silently converted to any pointer type. QString(0) was previously interpreted as QString((char*)0). Now there's also a QString(QChar *), so now it's ambiguous. But since QString((char*)0) is the same and less efficient as just QString(), the best fix is to just remove the 0. (Actually, it's const char * and const QChar *.) Created attachment 424566 [details]
Patch to make SQLiteman build against Qt 4.7
I made a patch, but the SQLiteman Bugtracker won't let me register, so I'm posting it here...
This patch is against trunk, but it also applies to the stable version (1.2.1).
I have pushed the fix to rawhide and updated the SQLiteman Bugtracker with relevant information. Thank you very much Alec! hi guys, I'm the author of Sqliteman. At first - I'd like to thank you for your investigation (and patch of course). Trunk and 1.2.x branch are patched and it's working. I did a new release - 1.2.2. It contains fixes for: #146: Views with spaces in name are not displayed correctly #163: sqliteman 1.2.1 don't build with qt 4.7 source tarballs are located at sourceforge. Some binary packages for Suse and Fedora are already prebuilt in OpenSuse's build service: http://download.opensuse.org/repositories/home:/subik/ spec file is in the SVN in Packagers directory (if you are interested). Please contact me again when you will face another issues. at last - I do apologise for so much delayed reaction. Sqliteman is not my main project and I don't monitor its bugtracker daily (yes, e-mail notifications were broken). all the best, Petr |