Results 1 to 6 of 6

Thread: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

  1. #1
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

    Hi,

    I was wondering whether anyone had tried the latest Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6 from the recently released Qt SDK 1.1 Beta (though it has beta in its name, I understand that both Qt Creator 2.1.0 and Qt 4.7.2 are final release versions)? I indeed seem to be having to get things to work properly.

    I reinstalled Mac OS X on my MacBook Air yesterday, and I have just reinstalled Xcode and now Qt SDK 1.1 Beta. Now, when starting Qt Creator, I get the following message:

    GLSLEditor
    Could not resolve dependency 'Core(2.1.81)'
    Could not resolve dependency 'TextEditor(2.1.81)'
    Could not resolve dependency 'ProjectExplorer(2.1.81)'
    Macros
    Could not resolve dependency 'Core(2.1.81)'
    Could not resolve dependency 'Locator(2.1.81)'
    Could not resolve dependency 'Find(2.1.81)'
    Could not resolve dependency 'TextEditor(2.1.81)'
    QmlJSTools
    Could not resolve dependency 'TextEditor(2.1.81)'
    Could not resolve dependency 'ProjectExplorer(2.1.81)'
    Could not resolve dependency 'Locator(2.1.81)'
    Could not resolve dependency 'CppTools(2.1.81)'
    Also, if I try to build my application from the command line (using CMake), everything goes apparently smoothly until the very end when I get the following messages:

    ERROR: file copy failed from "/Developer/QtSDK/Desktop/Qt/472/gcc/lib/QtGui.framework/Resources/qt_menu.nib/classes.nib"
    ERROR: to "OpenCOR.app/Contents/Frameworks/QtGui.framework/Resources/qt_menu.nib/classes.nib"
    ERROR: file copy failed from "/Developer/QtSDK/Desktop/Qt/472/gcc/lib/QtGui.framework/Resources/qt_menu.nib/info.nib"
    ERROR: to "OpenCOR.app/Contents/Frameworks/QtGui.framework/Resources/qt_menu.nib/info.nib"
    ERROR: file copy failed from "/Developer/QtSDK/Desktop/Qt/472/gcc/lib/QtGui.framework/Resources/qt_menu.nib/keyedobjects.nib"
    ERROR: to "OpenCOR.app/Contents/Frameworks/QtGui.framework/Resources/qt_menu.nib/keyedobjects.nib"
    From there, if I try to run my application, I get the following:

    objc[4863]: Class QCocoaColorPanelDelegate is implemented in both /Users/Alan/OpenCOR/build/OpenCOR.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui and /Users/Alan/OpenCOR/build/OpenCOR.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/Current/QtGui. One of the two will be used. Which one is undefined.
    ...
    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is QtSingleApplication(0x7fff5fbff860), parent's thread is QThread(0x103b12500), current thread is QThread(0x103d27dd0)
    QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
    QObject: Cannot create children for a parent that is in a different thread.
    (Parent is QtLocalPeer(0x103d2bb90), parent's thread is QThread(0x103d27dd0), current thread is QThread(0x103b12500)
    QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
    QCoreApplication::arguments: Please instantiate the QApplication object first
    QPixmap::scaled: Pixmap is a null pixmap
    QMetaObject::connectSlotsByName: No matching signal for on_actionNew_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionSaveAll_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionSaveAs_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionSave_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionCloseAll_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionClose_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionReopen_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionOpen_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionCellML11File_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionCellML10File_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionFullScreen_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionSystem_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionEnglish_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionFrench_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionHomePage_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionCellMLHomePage_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionUpdates_triggered()
    QMetaObject::connectSlotsByName: No matching signal for on_actionAbout_triggered()
    QCoreApplication::applicationFilePath: Please instantiate the QApplication object first
    QObject::moveToThread: Current thread (0x103b12500) is not the object's thread (0x103b472e0).
    Cannot move to target thread (0x103b12500)

    On Mac OS X, you might be loading two sets of Qt binaries into the same process. Check that all plugins are compiled against the right Qt binaries. Export DYLD_PRINT_LIBRARIES=1 and check that only one set of binaries are being loaded.
    QWidget: Cannot create a QWidget when no GUI is being used
    ./runproj: line 23: 4863 Abort trap build/OpenCOR.app/Contents/MacOS/OpenCOR $*
    I guess it's worth pointing out that it used to work all fine with Qt Creator 2.0.1 and Qt 4.7.0. Also, using Qt Creator 2.1.0 and Qt 4.7.2, everything is fine on Windows 7 and Linux Mint. So, I am starting to wonder what might be wrong on Mac OS X...

    Cheers, Alan.
    Last edited by agarny; 4th March 2011 at 15:16.

  2. #2
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

    Regarding the errors I get during compilation, I have found out that it's as a result of using macdeployqt... (!?) Also, the crazy thing is that the files are actually being properly copied... (!?)

  3. #3

    Default Re: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

    I have the same problem. I uninstall my owl qt sdk (with qt creator 4.7) & i install the beta of qt 1.1 but i have exactly the same problems. Ah! and photoshop doesn't integrate with the 'export qml' option. I'm on MAC OS X 10.6.6


    Added after 16 minutes:


    Quote Originally Posted by wingsandsky View Post
    I have the same problem. I uninstall my owl qt sdk (with qt creator 4.7) & i install the beta of qt 1.1 but i have exactly the same problems. Ah! and photoshop doesn't integrate with the 'export qml' option. I'm on MAC OS X 10.6.6
    I Solve the problem going to maintance mode (on QtSDK folder, on the root) and updating the QT Creator IDE


    Added after 4 minutes:


    Quote Originally Posted by wingsandsky View Post
    I have the same problem. I uninstall my owl qt sdk (with qt creator 4.7) & i install the beta of qt 1.1 but i have exactly the same problems. Ah! and photoshop doesn't integrate with the 'export qml' option. I'm on MAC OS X 10.6.6


    Added after 16 minutes:




    I Solve the problem going to maintance mode (on QtSDK folder, on the root) and updating the QT Creator IDE

    But i can't get the integration with Photoshop =S
    Last edited by wingsandsky; 5th March 2011 at 23:23.

  4. #4
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

    Yes, indeed the Qt Creator problem goes away after the update. I, however, still have the problem with macdeployqt, as further discussed in this thread. In fact, it seems like it might be a bug which I was asked to file, and which I did here.

  5. #5

    Default Re: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

    Oh! i don't know about that issue. I already get working the integration with Photoshop

  6. #6
    Join Date
    Mar 2010
    Posts
    319
    Thanks
    1
    Thanked 14 Times in 12 Posts
    Qt products
    Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt Creator 2.1.0 and Qt 4.7.2 on Mac OS X 10.6.6

    Quote Originally Posted by wingsandsky View Post
    Oh! i don't know about that issue. I already get working the integration with Photoshop
    For your information, I have personally ditched Qt SDK Beta 1.1. As I have been told here, there may be something wrong with the packaging of Qt SDK 1.1 which after all is still beta even though both Qt and Qt Creator are not.

    Anyway, the point is that you might want to uninstall all of Qt SDK 1.1 and individually install Qt 4.7.2 and Qt Creator 2.1.0. This is what I ended up doing and, now, everything works as expected.

Similar Threads

  1. How to add MS SDK to QT Creator?
    By askrina in forum Newbie
    Replies: 3
    Last Post: 5th May 2010, 06:16
  2. how to use Qwt in Qt creator(1.2.1)?
    By qtlinuxnewbie in forum Qwt
    Replies: 2
    Last Post: 6th March 2010, 13:29
  3. QT creator - best IDE.
    By megabyte-ceercop in forum Qt Tools
    Replies: 1
    Last Post: 12th April 2009, 09:01
  4. Qt Creator
    By fnmblot in forum General Discussion
    Replies: 3
    Last Post: 12th April 2009, 08:06
  5. Qt Creator on Mac OS X
    By stephenju in forum Qt Tools
    Replies: 2
    Last Post: 12th March 2009, 21:51

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.