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

Compiling on OSX with SQLite

Scheduled Pinned Locked Moved General and Desktop
10 Posts 3 Posters 2.2k Views
  • 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.
  • CoreyWhiteC Offline
    CoreyWhiteC Offline
    CoreyWhite
    wrote on 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
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on 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
      • CoreyWhiteC Offline
        CoreyWhiteC Offline
        CoreyWhite
        wrote on last edited by
        #3

        Did you test to see if it loads the database?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on 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
          • CoreyWhiteC Offline
            CoreyWhiteC Offline
            CoreyWhite
            wrote on 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
            0
            • CoreyWhiteC CoreyWhite

              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 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
              • CoreyWhiteC Offline
                CoreyWhiteC Offline
                CoreyWhite
                wrote on 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
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 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
                  0
                  • SGaistS SGaist

                    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 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
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 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

                      • Login

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