OSX 10.8.3 Qt 5.0.2 Deployment

  • Hi i tried to deploy my project for Mac with the http://qt-project.org/doc/qt-5.0/qtdoc/deployment-mac.html#macdeploy Deployment Tool. All works fine without any errors. But if i try to run my Program out of that created dmg i have no Window. The Program is running (i have network connection that indicates that) but i have simply no Window showing the Application like if i start the Programm out of QtCreator. is there any way i could debug or log files.

    best regards

  • Lifetime Qt Champion


    Try to run your application from the command line with something like


    Do you have any message on the console ?

  • -Yes i have done that. But there is no message that indicates any problems.- What's also wired is the fact that i can run the application out of QtCreator but if i try to run the application from the release or debug directory where it is build at the same happens, no window. What does QtCreator in contrast to the normal termnal? Is it the Run Environment in Projects->Run->Run Environment->Use Build Environment ?

    (asides from that i can build and run the application from Linux without any problem)

    //EDIT: Sry i was wrong about that i dont get errors :/

    module "QtQuick" is not installed
    import QtQuick 2.0
    QObject::connect: Cannot connect (null)::mediaEnded() to MainController::onMediaEnded()
    QObject::connect: Cannot connect (null)::progressUpdate(QString, QString) to MainController::onProgressUpdate(QString, QString)
    QObject::connect: Cannot connect SyncController::syncStarted() to (null)::onProgressStart()
    QObject::connect: Cannot connect SyncController::syncProgressFileUpdate(QVariant) to (null)::onProgressFileUpdate(QVariant)
    QObject::connect: Cannot connect SyncController::syncProgressUpdate(QVariant,QVariant) to (null)::onProgressUpdate(QVariant, QVariant)
    QObject::connect: Cannot connect SyncController::syncFinished() to (null)::onProgressEnd()
    QObject::connect: Cannot connect MainController::changeCategory() to (null)::DEFANGED_OnChangeCategory()
    QObject::connect: Cannot connect MainController::show() to (null)::onShow()
    QObject::connect: Cannot connect MainController::rotate(QVariant) to (null)::onRotate(QVariant)
    QObject::connect: Cannot connect MainController::play() to (null)::onPlay()
    QObject::connect: Cannot connect MainController::pause() to (null)::onPause()
    QObject::connect: Cannot connect MainController::stop() to (null)::onStop()
    QObject::connect: Cannot connect MainController::seek(QVariant) to (null)::onSeek(QVariant)
    QObject::connect: Cannot connect MainController::volume(QVariant) to (null)::onVolume(QVariant)
    QObject::connect: Cannot connect MainController::openURL() to (null)::onOpenURL()
    QObject::connect: Cannot connect (null)::transitionFinished() to UDPHandler::onTransitionFinished()
    void QCocoaWindow::syncWindowState(Qt::WindowState) invalid window content view size, check your window geometry

    seems to be there is no QtQuick in the Bundle?

  • Is this Problem related to this Bug? https://bugreports.qt-project.org/browse/QTBUG-29495
    Regarding to this i have found this https://codereview.qt-project.org/#change,48714

    Is this Problem solved (bugreports says open) so i can do something like building Qt from source on mac or only the macdeployment tool? Or are there any workarounds like pasting some files into the bundle, to let it just work.

  • Lifetime Qt Champion

    It might be yes. You can try to patch macdeployqt and build it using your already installed Qt

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.