Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. OSX 10.8.3 Qt 5.0.2 Deployment
Forum Updated to NodeBB v4.3 + New Features

OSX 10.8.3 Qt 5.0.2 Deployment

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 2.7k 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.
  • P Offline
    P Offline
    pythoneer
    wrote on last edited by
    #1

    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

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      @./myapp.app/Contents/MacOS/myapp@

      Do you have any message on the console ?

      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
      • P Offline
        P Offline
        pythoneer
        wrote on last edited by
        #3

        -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)
        Controller::init
        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?

        1 Reply Last reply
        0
        • P Offline
          P Offline
          pythoneer
          wrote on last edited by
          #4

          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.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

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

            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