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. Qt internal error: qt_menu.nib could not be loaded.
Forum Updated to NodeBB v4.3 + New Features

Qt internal error: qt_menu.nib could not be loaded.

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

    I'm deploying a shared library application on OSX.

    All dependencies have been fixed as described here: http://developer.qt.nokia.com/forums/viewthread/6641/#39177

    Only the qt_menu.nib is giving me a hard time.
    It shall be located inside: QtGui.framework/Versions/Current/Resources/

    the Versions-folder looks like this:

    @drwxr-xr-x 4 imm staff 136 14 Jun 21:24 4
    lrwxr-xr-x 1 imm staff 1 14 Jun 16:56 4.0 -> 4
    lrwxr-xr-x 1 507 wheel 1 14 Jun 16:56 Current -> 4@

    I fixed the symlink by using:

    @rm Current
    ln -s 4 Current@

    but still get this error upon starting my application:

    @Qt internal error: qt_menu.nib could not be loaded. The .nib file should be placed in QtGui.framework/Versions/Current/Resources/ or in the resources directory of your application bundle.
    @

    My application works when I put the qt_menu.nib inside the Resources-folder of the .app but I'd rather have this link-thing sorted out for a clean solution.

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

      Is it in the original installation of your Qt libs? eg. in /usr/local/Trolltech/Qt-4.7.3/lib/QtGui.framework/Versions/4/Resources

      And watch out, qt_menu.nib is a directory!

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

      1 Reply Last reply
      0
      • H Offline
        H Offline
        Hedge
        wrote on last edited by
        #3

        Yes it pointed to the original installation. Now it points to correct file inside the .app but the error is still there.

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

          Did you copy the framework yourself or was it by utilizing the macdeployqt tool?

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

          1 Reply Last reply
          0
          • H Offline
            H Offline
            Hedge
            wrote on last edited by
            #5

            I copied it myself.

            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