Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

    Compiling on OSX with SQLite

    General and Desktop
    3
    10
    1788
    Loading More Posts
    • 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.
    • CoreyWhite
      CoreyWhite last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • CoreyWhite
          CoreyWhite last edited by

          Did you test to see if it loads the database?

          1 Reply Last reply Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • CoreyWhite
              CoreyWhite last edited by

              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 Reply Quote 0
              • J
                jalomic @CoreyWhite last edited by

                @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 Reply Quote 0
                • CoreyWhite
                  CoreyWhite last edited by

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

                  1 Reply Last reply Reply Quote 0
                  • SGaist
                    SGaist Lifetime Qt Champion last edited by

                    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 Reply Quote 0
                    • J
                      jalomic @SGaist last edited by

                      @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 Reply Quote 0
                      • SGaist
                        SGaist Lifetime Qt Champion last edited by

                        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 Reply Quote 0
                        • First post
                          Last post