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. Compiling on OSX with SQLite
Forum Updated to NodeBB v4.3 + New Features

Compiling on OSX with SQLite

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 2.2k 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.
  • C Offline
    C Offline
    CoreyWhite
    wrote on 9 Mar 2015, 19:29 last edited by
    #1

    My project is hosted on GitHub here:
    http://treatz.github.io/phiction_phreak/

    People have told me that it might not compile on Mac, so I was hoping someone else could try it because I only work on the library computer system that runs windows. If it doesn't work and you want to put together something that does cross compile, I would love to see any contributions. SQLite databases are tricky, but I'm glad I got it working at least on windows.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 9 Mar 2015, 20:04 last edited by
      #2

      Hi,

      No worries, it builds fine on OS X.

      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
      • C Offline
        C Offline
        CoreyWhite
        wrote on 9 Mar 2015, 20:45 last edited by
        #3

        Did you test to see if it loads the database?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 9 Mar 2015, 21:12 last edited by
          #4

          It opens the database if it's in the same folder. However you don't need to open it twice, you can populate all your variables in the same function.

          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
          • C Offline
            C Offline
            CoreyWhite
            wrote on 10 Mar 2015, 14:16 last edited by
            #5

            Alright, I'll fix that today. And do you think you could send me a zip file with the OSX binary? I know a lot of people who have macs but can't compile this for themselves.

            Thanks
            adventmagic@gmail.com

            J 1 Reply Last reply 10 Mar 2015, 19:04
            0
            • C CoreyWhite
              10 Mar 2015, 14:16

              Alright, I'll fix that today. And do you think you could send me a zip file with the OSX binary? I know a lot of people who have macs but can't compile this for themselves.

              Thanks
              adventmagic@gmail.com

              J Offline
              J Offline
              jalomic
              wrote on 10 Mar 2015, 19:04 last edited by
              #6

              @CoreyWhite
              https://www.dropbox.com/s/p582lqaiojl90vu/Phiction Phreak.app.zip
              Will it work with standalone without qt libraries ? =) i don't know. Check it !

              1 Reply Last reply
              0
              • C Offline
                C Offline
                CoreyWhite
                wrote on 10 Mar 2015, 19:30 last edited by
                #7

                Could someone who actually has a Mac try this for me? I have no way to test it!

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 10 Mar 2015, 20:39 last edited by
                  #8

                  It won't work, it's not been properly deployed.

                  Also on OS X, you generally provide a dmg file not a zip of the App

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

                  J 1 Reply Last reply 10 Mar 2015, 21:01
                  0
                  • S SGaist
                    10 Mar 2015, 20:39

                    It won't work, it's not been properly deployed.

                    Also on OS X, you generally provide a dmg file not a zip of the App

                    J Offline
                    J Offline
                    jalomic
                    wrote on 10 Mar 2015, 21:01 last edited by
                    #9

                    @SGaist Is any way to deploy Qt application automatically ? macdeployqt is very strange thing. I can't make it work properly

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 10 Mar 2015, 21:22 last edited by
                      #10

                      macdeployqt is the automated way. What doesn't work ?

                      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

                      10/10

                      10 Mar 2015, 21:22

                      • Login

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