[MacPorts] #50027: Qt5 yosemite
#50027: Qt5 yosemite --------------------+-------------------------------- Reporter: jam@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: QT5 | Port: QT5 --------------------+-------------------------------- Installing Qt on yosemite fails to build apps. It installs Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk but to run Qt needs Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk To run rename the 11 to 9. It should be 10 !!! I've not looked so the SDK may be part of Xcode not from macports. Never the less macports QT5 requires the 11 to be 9 -- Ticket URL: <https://trac.macports.org/ticket/50027> MacPorts <https://www.macports.org/> Ports system for OS X
#50027: Qt5 yosemite ---------------------+------------------------ Reporter: jam@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5 | ---------------------+------------------------ Changes (by ryandesign@…): * keywords: QT5 => * owner: macports-tickets@… => mcalhoun@… * port: QT5 => qt5 Comment: The SDKs are not provided by MacPorts; they are part of Xcode. Xcode 7 only includes the 10.11 SDK, even if you are running on OS X 10.10. Apple does not consider this a bug. If Qt requires an older SDK, that is a design flaw in Qt which should be reported to the developers of Qt so that they can fix it. Do not under any circumstances rename your SDK or make any other changes inside the Xcode application bundle. -- Ticket URL: <https://trac.macports.org/ticket/50027#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#50027: Qt5 yosemite ---------------------+------------------------ Reporter: jam@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt5 | ---------------------+------------------------ Changes (by mcalhoun@…): * status: new => assigned Comment: Does Qt fail to build and install or is it simply not work properly after it builds?[[BR]] If it is the latter, there is a [https://forum.qt.io/topic/58926/solved- xcode-7-and-qt-error thread] on the Qt forum that suggests you should set {{{QMAKE_MAC_SDK = macosx10.11}}}. -- Ticket URL: <https://trac.macports.org/ticket/50027#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#50027: Qt5 yosemite ---------------------+------------------------ Reporter: jam@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite Port: qt5 | ---------------------+------------------------ Changes (by mcalhoun@…): * keywords: => yosemite Comment: Replying to [comment:2 mcalhoun@…]:
Does Qt fail to build and install or is it simply not work properly after it builds?[[BR]] If it is the latter, there is a [https://forum.qt.io/topic/58926/solved- xcode-7-and-qt-error thread] on the Qt forum that suggests you should set {{{QMAKE_MAC_SDK = macosx10.11}}}. Based on the comment in #50108, it seems Qt 5 is building fine for you on Yosemite.[[BR]] Did the advice in comment:2 work for building apps?
-- Ticket URL: <https://trac.macports.org/ticket/50027#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#50027: Qt5 yosemite ---------------------+------------------------ Reporter: jam@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite Port: qt5 | ---------------------+------------------------ Comment (by jam@…): After much heartache I scrubbed the disk and installed yosemite on my main machine where everything works. In response to requests for a log file I installed el Capitan on an old mac-mini. My gnuplot quickly created a fail-log. QT5 is still busy but looks as if it will build OK. For me building QT5 failed. The QMAKE_MAC_SDK does work building apps that use QT (even on yosemite the SDK is macosx10.11) If the build fails I will post the log. If all works then I **may** be a sucker for punishment and try el Capitan again else noise on the list - sorry - but try as I could (an tried 5 or 6 times clean etc) I got 'build failed' messages. James -- Ticket URL: <https://trac.macports.org/ticket/50027#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#50027: Qt5 yosemite ---------------------+------------------------ Reporter: jam@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: yosemite Port: qt5 | ---------------------+------------------------ Comment (by jam@…): The build of Qt completed. I will now go to original install and report when that is done -- Ticket URL: <https://trac.macports.org/ticket/50027#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#50027: Qt5 yosemite -------------------------+------------------------ Reporter: jam@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: worksforme | Keywords: yosemite Port: qt5 | -------------------------+------------------------ Changes (by mcalhoun@…): * status: assigned => closed * resolution: => worksforme Comment: There may be still be a problem here for anybody running: * Yosemite * Xcode 7 Putting {{{QMAKE_MAC_SDK = macosx10.11}}} in every pro file seems an onerous burden.[[BR]] If I understand the [https://lists.macosforge.org/pipermail/macports- users/2015-December/040258.html post] on the users mailing list, however, the machine in question now runs El Capitan.[[BR]] Closing the ticket until we have a machine on which to test possible solutions. -- Ticket URL: <https://trac.macports.org/ticket/50027#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts