Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. [SOLVED] project layout OSX/Win8.1 Parallels
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] project layout OSX/Win8.1 Parallels

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 1.5k Views 1 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.
  • P Offline
    P Offline
    pmh4514
    wrote on last edited by
    #1

    This is more of an organizational approach question. I've been working on a Qt5.3.1 app on the PC side for a while now, all is good. The OpenCV library is also used extensively by the program.

    I've now upgraded myself to a MacBook Pro running Win8.1 in Parallels so that I can compile a Mac version.
    I know I have to install Qt independently on each side, as well as OpenCV. But I want a single code-base so that changes I make in the actual CPP/H files are immediately reflected on the other side.

    How would you approach organizing everything without making a mess of the project file or needing multiple project files? (I am only 4 months in to my Qt experience, and about 4 days into my Mac experience!)

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

      Hi,

      That kind of "one folder for both" setup is generally a good way to trouble.

      The cleanest way is to use a version control system like GIT, SVN, Bazaar or other. Write your code, build it test it, push the update, go to the other side, pull the latest version and continue developing the same way. This way you won't have problem with path(s) in your .pro.user file or line endings etc…

      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
      • hskoglundH Offline
        hskoglundH Offline
        hskoglund
        wrote on last edited by
        #3

        Hi, also when you use something like GitHub (or others like SGaist suggests) you get an automatic backup. I also have an MBP, using Fusion, not Parallels, and I sync with GitHub all the time, because if I'm on the train and someone spills coffee on my MBP I still have the source on GitHub :-)

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pmh4514
          wrote on last edited by
          #4

          ahh yes of course, perfect suggestion.. Thanks!

          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