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. Build Static Qt problems
Qt 6.11 is out! See what's new in the release blog

Build Static Qt problems

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 3 Posters 2.3k 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.
  • Q Offline
    Q Offline
    qtprojusername
    wrote on last edited by
    #1

    I'm trying to build an executable of my application. All the guides I have tried all have steps that don't work.

    Supposedly I'm supposed to build Qt statically, and then statically build my application.

    From the Qt page on deployment it says to:

    configure -static
    nmake sub-src

    But there is no configure program in Qt, nor nmake.

    Is there any up to date guide on how to do this?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Code_ReaQtor
      wrote on last edited by
      #2

      "configure" (usually "configure.bat") should be present in the source.
      "nmake", on the other hand, should be present in windows with the VS compiler.

      PS: (I might be wrong) Download the correct archive w/ windows line endings (usually ".zip" and NOT .tar.gz, etc.)
      Also, install a VS compiler, after that use the command prompt specific for that compiler (e.g. for VS2012: start menu -> Microsoft Visual Studio 2012 -> Visual Studio Tools -> [here you'll see different command prompts]

      Please visit my open-source projects at https://github.com/Code-ReaQtor.

      1 Reply Last reply
      0
      • Q Offline
        Q Offline
        qtprojusername
        wrote on last edited by
        #3

        I just redownloaded a fresh install of 5.0.2 and the only "configure" in the whole thing is a PICS rules file.

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qtprojusername
          wrote on last edited by
          #4

          never mind, it appears theres a download option to get source, and configure is in there.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            Code_ReaQtor
            wrote on last edited by
            #5

            [quote author="qtprojusername" date="1366603487"]I just redownloaded a fresh install of 5.0.2 and the only "configure" in the whole thing is a PICS rules file.[/quote]

            I have a copy of Qt 5.0.2 "qt-everywhere-opensource-src-5.0.2.zip", (just checked it a while ago) and it includes 2 "configure" (one is configure w/o any extension and the other is configure.bat).

            Also, every subfolders/modules (QtBase, etc) have the same separate files within.

            You might have downloaded the wrong archive or your file got corrupted during the download process. And I never saw any PICS file. Try to recheck it.

            Where do you download anyway? I assume it is on the Qt-Project download page, right?

            Please visit my open-source projects at https://github.com/Code-ReaQtor.

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qxoz
              wrote on last edited by
              #6

              Hi!
              You should build Qt from source. As i understand you download Qt SDK installer.
              You can get split source packages from "here":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/submodules/. The source code is also available as a single "zip":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip (271 MB) ("Info":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.zip.mirrorlist) file for Windows users or as "tar.qz":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz (220 MB) ("Info":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/single/qt-everywhere-opensource-src-5.0.2.tar.gz.mirrorlist) file for Linux/Mac users. All the installers are available also "here":http://download.qt-project.org/official_releases/qt/5.0/5.0.2/. Or visit the repository at "qt.gitorious.org/qt":http://qt.gitorious.org/qt

              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