Where do i get the classes of qt in OSX
-
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?
-
"Deploying Qt Applications":http://developer.qt.nokia.com/doc/qt-4.8/deployment.html
-
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/QtGuiwhy is the program searching at /User and not in ./Contents ???
-
Did you use the macdeployqt tool?
-
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
-
I suggest to use macdeployqt - it usually creates a working, selfcontained application bundle.
-
[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...