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. Where do i get the classes of qt in OSX
Forum Updated to NodeBB v4.3 + New Features

Where do i get the classes of qt in OSX

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 2.4k 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.
  • N Offline
    N Offline
    n00b123
    wrote on last edited by
    #1

    Hello i'm new on developing in qt and c++.

    I have the problem, that a program that i developed runs on my machine but not on another machine of a friend of me. I'm pretty sure, that it causes because my friend had not installed qt. So is there a way to run the program on his machine without installing qt on it and not building my program static? On windows for example i have to add several .dll files. What i have to add on OSX?

    1 Reply Last reply
    0
    • L Offline
      L Offline
      lgeyer
      wrote on last edited by
      #2

      "Deploying Qt Applications":http://developer.qt.nokia.com/doc/qt-4.8/deployment.html

      1 Reply Last reply
      0
      • N Offline
        N Offline
        n00b123
        wrote on last edited by
        #3

        Ok i have done the steps of http://developer.qt.nokia.com/doc/qt-4.8/deployment-mac.html

        of Linking the Application to Qt as Frameworks

        so my .app file base a directory named frameworks in which is the qtcore and qtgui framework. so if my friend tries to run the app he gets a error:

        dyld error message:
        labrary not loaded: /User/*/QtGui.framework/Versions/4/QtGui

        why is the program searching at /User and not in ./Contents ???

        1 Reply Last reply
        0
        • G Offline
          G Offline
          goetz
          wrote on last edited by
          #4

          Did you use the macdeployqt tool?

          http://www.catb.org/~esr/faqs/smart-questions.html

          1 Reply Last reply
          0
          • N Offline
            N Offline
            n00b123
            wrote on last edited by
            #5

            Hello Volker no i did not use the macdeployqt tool. I don't saw it in the how to: http://developer.qt.nokia.com/doc/qt-4.8/deployment-mac.html

            1 Reply Last reply
            0
            • G Offline
              G Offline
              goetz
              wrote on last edited by
              #6

              I suggest to use macdeployqt - it usually creates a working, selfcontained application bundle.

              http://www.catb.org/~esr/faqs/smart-questions.html

              1 Reply Last reply
              0
              • A Offline
                A Offline
                andre
                wrote on last edited by
                #7

                [quote author="n00b123" date="1328626354"]Hello Volker no i did not use the macdeployqt tool. I don't saw it in the how to: http://developer.qt.nokia.com/doc/qt-4.8/deployment-mac.html[/quote]

                Well, searching for it on that page points me right to it...

                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