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 Creator doesn't recognize the Qt "installation" directory.
Forum Updated to NodeBB v4.3 + New Features

Qt Creator doesn't recognize the Qt "installation" directory.

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 2 Posters 1.6k 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.
  • StokestackS Offline
    StokestackS Offline
    Stokestack
    wrote on last edited by Stokestack
    #1

    I just built Qt 5.15 and Qt Creator (on Mac OS). On first launch, Qt Creator prompts you to "Choose Qt installation."

    By default, Qt installs to /usr/local/Qt-(version). But neither this nor any subdirectory appears to be recognized as an installation directory by this dialog. What should I point it to?

    qmake -query returns the following, none of which appears to be acceptable as the "installation" directory. Nor does the directory where qmake resides.

    QT_SYSROOT:
    QT_INSTALL_PREFIX:/usr/local/Qt-5.15.0
    QT_INSTALL_ARCHDATA:/usr/local/Qt-5.15.0
    QT_INSTALL_DATA:/usr/local/Qt-5.15.0
    QT_INSTALL_DOCS:/usr/local/Qt-5.15.0/doc
    QT_INSTALL_HEADERS:/usr/local/Qt-5.15.0/include
    QT_INSTALL_LIBS:/usr/local/Qt-5.15.0/lib
    QT_INSTALL_LIBEXECS:/usr/local/Qt-5.15.0/libexec
    QT_INSTALL_BINS:/usr/local/Qt-5.15.0/bin
    QT_INSTALL_TESTS:/usr/local/Qt-5.15.0/tests
    QT_INSTALL_PLUGINS:/usr/local/Qt-5.15.0/plugins
    QT_INSTALL_IMPORTS:/usr/local/Qt-5.15.0/imports
    QT_INSTALL_QML:/usr/local/Qt-5.15.0/qml
    QT_INSTALL_TRANSLATIONS:/usr/local/Qt-5.15.0/translations
    QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt
    QT_INSTALL_EXAMPLES:/usr/local/Qt-5.15.0/examples
    QT_INSTALL_DEMOS:/usr/local/Qt-5.15.0/examples
    QT_HOST_PREFIX:/usr/local/Qt-5.15.0
    QT_HOST_DATA:/usr/local/Qt-5.15.0
    QT_HOST_BINS:/usr/local/Qt-5.15.0/bin
    QT_HOST_LIBS:/usr/local/Qt-5.15.0/lib
    QMAKE_SPEC:macx-clang
    QMAKE_XSPEC:macx-clang
    QMAKE_VERSION:3.1
    QT_VERSION:5.15.0

    jsulmJ 1 Reply Last reply
    0
    • StokestackS Stokestack

      I just built Qt 5.15 and Qt Creator (on Mac OS). On first launch, Qt Creator prompts you to "Choose Qt installation."

      By default, Qt installs to /usr/local/Qt-(version). But neither this nor any subdirectory appears to be recognized as an installation directory by this dialog. What should I point it to?

      qmake -query returns the following, none of which appears to be acceptable as the "installation" directory. Nor does the directory where qmake resides.

      QT_SYSROOT:
      QT_INSTALL_PREFIX:/usr/local/Qt-5.15.0
      QT_INSTALL_ARCHDATA:/usr/local/Qt-5.15.0
      QT_INSTALL_DATA:/usr/local/Qt-5.15.0
      QT_INSTALL_DOCS:/usr/local/Qt-5.15.0/doc
      QT_INSTALL_HEADERS:/usr/local/Qt-5.15.0/include
      QT_INSTALL_LIBS:/usr/local/Qt-5.15.0/lib
      QT_INSTALL_LIBEXECS:/usr/local/Qt-5.15.0/libexec
      QT_INSTALL_BINS:/usr/local/Qt-5.15.0/bin
      QT_INSTALL_TESTS:/usr/local/Qt-5.15.0/tests
      QT_INSTALL_PLUGINS:/usr/local/Qt-5.15.0/plugins
      QT_INSTALL_IMPORTS:/usr/local/Qt-5.15.0/imports
      QT_INSTALL_QML:/usr/local/Qt-5.15.0/qml
      QT_INSTALL_TRANSLATIONS:/usr/local/Qt-5.15.0/translations
      QT_INSTALL_CONFIGURATION:/Library/Preferences/Qt
      QT_INSTALL_EXAMPLES:/usr/local/Qt-5.15.0/examples
      QT_INSTALL_DEMOS:/usr/local/Qt-5.15.0/examples
      QT_HOST_PREFIX:/usr/local/Qt-5.15.0
      QT_HOST_DATA:/usr/local/Qt-5.15.0
      QT_HOST_BINS:/usr/local/Qt-5.15.0/bin
      QT_HOST_LIBS:/usr/local/Qt-5.15.0/lib
      QMAKE_SPEC:macx-clang
      QMAKE_XSPEC:macx-clang
      QMAKE_VERSION:3.1
      QT_VERSION:5.15.0

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Stokestack Did you add your custom built Qt in QtCreator and did you create a Kit with this Qt version?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      StokestackS 1 Reply Last reply
      0
      • jsulmJ jsulm

        @Stokestack Did you add your custom built Qt in QtCreator and did you create a Kit with this Qt version?

        StokestackS Offline
        StokestackS Offline
        Stokestack
        wrote on last edited by
        #3

        @jsulm Thanks...

        No, that's what I thought this dialog was for. I actually did read documentation before posting, but haven't come across anything about "creating a kit."

        What do you do to add a custom build in Qt Creator and create a kit?

        jsulmJ 1 Reply Last reply
        0
        • StokestackS Stokestack

          @jsulm Thanks...

          No, that's what I thought this dialog was for. I actually did read documentation before posting, but haven't come across anything about "creating a kit."

          What do you do to add a custom build in Qt Creator and create a kit?

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @Stokestack said in Qt Creator doesn't recognize the Qt "installation" directory.:

          that's what I thought this dialog was for

          No, this is to select an existing Kit for your project.
          Go to "Tools/Options.../Kits". Then in that dialog select "Qt Versions" tab and add your Qt there (you need to select qmake from that Qt build). Then, in same dialog, go to Kits and add a new one where you select Qt you added just before.

          Documentation: https://doc.qt.io/qtcreator/creator-configuring.html

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          1

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved