Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Solved - OS X Qt 5.4 and XCode 6-7
Forum Updated to NodeBB v4.3 + New Features

Solved - OS X Qt 5.4 and XCode 6-7

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.3k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Rondog
    wrote on last edited by Rondog
    #1

    I have two computers, one running Mavericks and the other Yosemite. I currently am using Qt 5.4.0. Both currently have XCode6 and I can move back and forth between the two systems without any difficulty. It works good basically.

    Recently I noticed Yosemite wants to update XCode6 to XCode7. I have the following concerns and was hoping someone out there can shed some light on this:

    Does Qt 5.4.0 work properly (or at all) with XCode7?

    If a project is loaded (and updated) with XCode7 can I still load it with XCode6?

    Is there anything I can expect for problems as a result of migrating to XCode7 in general (related to Qt)?

    My MBP is running Mavericks because I cannot update to Yosemite (I have a non-apple SSD drive). I could upgrade but I know there will be problems if I can't enable TRIM on the SSD.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      One thing with Xcode 7 is that it's not shipped with the precedent SDK. It might be available as an optional download but I haven't checked yet. If not available, you'll have to either modify the mkspec or your project file and set the new sdk by hand.

      If by project you mean your .pro file project, it should not have any impact on it.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Rondog
        wrote on last edited by
        #3

        I never even thought of things like missing a SDK. I will look into that.

        I was not referring to the .pro file as the project. I meant the entire project or anything related to an application in XCode. Right now I can switch between the two computers without doing anything. Since XCode7 is a major release it is possible that there are major changes under the hood and when an older project is loaded it might be altered in some way to work with the new version of XCode. After updating to XCode7 will it still load in XCode6 or do I need to regenerate using qmake? It is more of an annoyance then a problem if I do need to rebuild using qmake.

        I've been blocking the update for now as I don't have time to test everything. Maybe in a few months when things settle down a bit. I will probably update Qt and XCode at the same time if I decide to do the update.

        The thing that is the real source of the problem is that I can't update my MBPro because Yosemite won't allow non-apple SSD with TRIM enabled. As time goes on the differences between the two systems increase which adds more and more problems. I guess I need to start looking for an apple branded SSD to fix this. I really wish they hadn't done that change in Yosemite to disable TRIM.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          Rondog
          wrote on last edited by Rondog
          #4

          After posting this I did some more checking and noticed that OS X 10.10.4 and higher now support TRIM on third party SSD's (use command 'trimforce enable' to turn it on). There was no reason not to update.

          Both systems are now running OS X 10.10.5, Qt 5.4.0, and XCode7. Backward compatibility is no longer a concern. I didn't see any problems running Qt 5.4.0 with XCode7.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Good !

            Happy coding !

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • B Offline
              B Offline
              burnshred
              wrote on last edited by
              #6

              Here are various SDKs available for download: https://github.com/phracker/MacOSX-SDKs

              Just copy the sdk you want in the corresponding Xcode folder.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved