Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Detecting Qt libraries in the 'framework' format
Forum Updated to NodeBB v4.3 + New Features

Detecting Qt libraries in the 'framework' format

Scheduled Pinned Locked Moved General and Desktop
9 Posts 3 Posters 3.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.
  • D Offline
    D Offline
    Dentrassi BBQ
    wrote on last edited by
    #1

    An open source project i volunteer with has recently begun work on a Qt client to go alongside the other interfaces. We use the traditional command line configure and make process, and while we are able to build against Qt on linux systems we are so far unable to detect the Qt library on OSX, since those have Qt as a framework. Web searches for "configure detect framework" turn up about a billion hits that have no relevance - can somebody please point me to a FAQ or [better yet] an example project that has successfully dealt with this?

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      zester
      wrote on last edited by
      #2

      Qt 4.7: Developing Qt Applications for Mac OS X
      http://doc.qt.nokia.com/4.7-snapshot/developing-on-mac.html

      Qt 4.7: Deploying an Application on Mac OS X
      http://doc.qt.nokia.com/stable/deployment-mac.html

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

        autotools are not very common for pure Qt projects. You might get a quicker answer in some autotools forum.

        Of course you could also consider moving to CMake, another more modern configuration tool.

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

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zester
          wrote on last edited by
          #4

          CMake would be a better option than autotools.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            Dentrassi BBQ
            wrote on last edited by
            #5

            Next question, and i guess i'll leave it in this thread:

            Does libQtGUI exist in the framework? I can't find it with 'locate' and i don't see it when i manually inspect QtGui.framework.

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

              The path is

              QtGui.framework/QtGui.framework

              which is a symlink to

              QtGui.framework/Versions/4/QtGui

              It's not forbidden to 'cd' into the directories and look yourself ;-P

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

              1 Reply Last reply
              0
              • D Offline
                D Offline
                Dentrassi BBQ
                wrote on last edited by
                #7

                As i said, i had manually inspected the framework. I was expecting to find something that started with 'lib' and so ignored QtGui.

                Anyway, thanks.

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

                  Ok, thought you had not seen that files.

                  Seems to be another incarnation of Apple's former claim "Think different" :-)

                  Oh, and be aware - this naming schemes holds for framework libraries (those within a xxx.framework bundle) only. "Regular" libraries are named the usual libFooBar.dylib, including Qt plugins.

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

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    Dentrassi BBQ
                    wrote on last edited by
                    #9

                    Okeh, thanks!

                    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