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. Cannot find configure file in Qt directory!
Forum Updated to NodeBB v4.3 + New Features

Cannot find configure file in Qt directory!

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
7 Posts 3 Posters 972 Views 2 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.
  • Pete CarterP Offline
    Pete CarterP Offline
    Pete Carter
    wrote on last edited by
    #1

    Hi, i am using Linux with KDE (Kubuntu)

    I installed QtCreator and installed the needed tools using the "Qt Maintenance Tool"

    Installed: Qt 6.4.2 (all components), Developer and Designer Tools (all components), Qt Design Studio 3.9.0

    QT is installed in /home/user/Qt

    I am trying to statically build a simple hello world CLI app following this guide: https://doc.qt.io/qt-6/linux-deployment.html

    I cannot find the configure file in /home/user/Qt, why is that ? and is there a way to build a static binary from inside QtCreator ?

    JKSHJ 1 Reply Last reply
    0
    • Pete CarterP Pete Carter

      Hi, i am using Linux with KDE (Kubuntu)

      I installed QtCreator and installed the needed tools using the "Qt Maintenance Tool"

      Installed: Qt 6.4.2 (all components), Developer and Designer Tools (all components), Qt Design Studio 3.9.0

      QT is installed in /home/user/Qt

      I am trying to statically build a simple hello world CLI app following this guide: https://doc.qt.io/qt-6/linux-deployment.html

      I cannot find the configure file in /home/user/Qt, why is that ? and is there a way to build a static binary from inside QtCreator ?

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi, and welcome!

      @Pete-Carter said in Cannot find configure file in Qt directory!:

      I am trying to statically build a simple hello world CLI app following this guide: https://doc.qt.io/qt-6/linux-deployment.html

      I cannot find the configure file in /home/user/Qt, why is that ? and is there a way to build a static binary from inside QtCreator ?

      The installer only provides dynamic libraries, which cannot be used for statically-linked applications. If you want static linking, you must build static Qt libraries from source code.

      The configure file is from the source code. You can get it from https://download.qt.io/official_releases/qt/6.4/6.4.2/single/ (the *.tar.xz file is for Linux) or from Git: https://wiki.qt.io/Building_Qt_6_from_Git

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      Pete CarterP 1 Reply Last reply
      4
      • JKSHJ JKSH

        Hi, and welcome!

        @Pete-Carter said in Cannot find configure file in Qt directory!:

        I am trying to statically build a simple hello world CLI app following this guide: https://doc.qt.io/qt-6/linux-deployment.html

        I cannot find the configure file in /home/user/Qt, why is that ? and is there a way to build a static binary from inside QtCreator ?

        The installer only provides dynamic libraries, which cannot be used for statically-linked applications. If you want static linking, you must build static Qt libraries from source code.

        The configure file is from the source code. You can get it from https://download.qt.io/official_releases/qt/6.4/6.4.2/single/ (the *.tar.xz file is for Linux) or from Git: https://wiki.qt.io/Building_Qt_6_from_Git

        Pete CarterP Offline
        Pete CarterP Offline
        Pete Carter
        wrote on last edited by
        #3

        @JKSH said in Cannot find configure file in Qt directory!:

        The configure file is from the source code.

        I downloaded the source from the "Qt Maintenance Tool" but cannot find it, is it necessary to download the source again from https://download.qt.io/official_releases/qt/6.4/6.4.2/single/ ?

        JKSHJ 1 Reply Last reply
        0
        • Pete CarterP Pete Carter

          @JKSH said in Cannot find configure file in Qt directory!:

          The configure file is from the source code.

          I downloaded the source from the "Qt Maintenance Tool" but cannot find it, is it necessary to download the source again from https://download.qt.io/official_releases/qt/6.4/6.4.2/single/ ?

          JKSHJ Offline
          JKSHJ Offline
          JKSH
          Moderators
          wrote on last edited by
          #4

          @Pete-Carter said in Cannot find configure file in Qt directory!:

          I downloaded the source from the "Qt Maintenance Tool" but cannot find it

          If you downloaded using /home/user/Qt/MaintenanceTool

          ...then the configure script is at /home/user/Qt/6.4.2/Src/configure

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          1
          • Pete CarterP Offline
            Pete CarterP Offline
            Pete Carter
            wrote on last edited by Pete Carter
            #5

            Thanks for the help. Compiling takes too much time, i have done it once using the source i downloaded from the website but haven't had the /home/user/Qt/lib as the docs say https://doc.qt.io/qt-6/linux-deployment.html#building-qt-statically

            will try compiling the source at /home/user/Qt/6.4.2/Src and see what happens ...

            I don't know why QtCreator has no option to compile statically ?! It would be nice if the developer can produce in independent static binary from within QtCreator and even produce packages like .deb and .Appimage.

            JKSHJ jsulmJ 2 Replies Last reply
            0
            • Pete CarterP Pete Carter

              Thanks for the help. Compiling takes too much time, i have done it once using the source i downloaded from the website but haven't had the /home/user/Qt/lib as the docs say https://doc.qt.io/qt-6/linux-deployment.html#building-qt-statically

              will try compiling the source at /home/user/Qt/6.4.2/Src and see what happens ...

              I don't know why QtCreator has no option to compile statically ?! It would be nice if the developer can produce in independent static binary from within QtCreator and even produce packages like .deb and .Appimage.

              JKSHJ Offline
              JKSHJ Offline
              JKSH
              Moderators
              wrote on last edited by JKSH
              #6

              @Pete-Carter said in Cannot find configure file in Qt directory!:

              I don't know why QtCreator has no option to compile statically ?!

              We recommend dynamic linking for most use-cases. Also, static libraries are HUGE! (Dynamic Qt is already huge; the resources required to host static Qt for users to download would be insane)

              If you want static linking, then you must build the static libraries from source.

              even produce packages like .deb and .Appimage.

              You can.

              • Qt/CMake/CPack officially supports .deb packages: https://www.qt.io/blog/deploying-to-linux-with-cmake
              • You can use a 3rd-party tool to create AppImages: https://github.com/probonopd/linuxdeployqt

              Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

              1 Reply Last reply
              2
              • Pete CarterP Pete Carter

                Thanks for the help. Compiling takes too much time, i have done it once using the source i downloaded from the website but haven't had the /home/user/Qt/lib as the docs say https://doc.qt.io/qt-6/linux-deployment.html#building-qt-statically

                will try compiling the source at /home/user/Qt/6.4.2/Src and see what happens ...

                I don't know why QtCreator has no option to compile statically ?! It would be nice if the developer can produce in independent static binary from within QtCreator and even produce packages like .deb and .Appimage.

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

                @Pete-Carter Just to add to @JKSH : if you use static build of Qt you have to consider the obligations of LGPL! Unless you have a commercial license.

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

                1 Reply Last reply
                2

                • Login

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