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

Building qt

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

    I did a checkout of the qt source from git://gitorious.org/qt/qt.git after that I tried to build it from the Visual Studio x64 Command Line like this:
    configure -mp -opensource -nomake demos -nomake examples

    Unfortunatelly configure fails. Here the outup of my console window:
    @
    Creating qmake...

    Microsoft (R) Program Maintenance Utility Version 10.00.30319.01
    Copyright (C) Microsoft Corporation. All rights reserved.

        cl -c -Fo./  -W3 -nologo -O2  /MP  -I. -Igenerators -Igenerators\unix -I
    

    generators\win32 -Igenerators\mac -Igenerators\symbian -IC:\USB\thirdparty\qt\i
    nclude -IC:\USB\thirdparty\qt\include\QtCore -IC:\USB\thirdparty\qt\include -IC
    :\USB\thirdparty\qt\include\QtCore -IC:\USB\thirdparty\qt\src\corelib\global -
    IC:\USB\thirdparty\qt\src\corelib\xml -IC:\USB\thirdparty\qt\mkspecs\win32-msvc
    2010 -IC:\USB\thirdparty\qt\tools\shared -DQT_NO_TEXTCODEC -DQT_NO_UNICODETAB
    LES -DQT_LITE_COMPONENT -DQT_NODLL -DQT_NO_STL -DQT_NO_COMPRESS -DUNICODE -DHAV
    E_QCONFIG_CPP -DQT_BUILD_QMAKE -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARI
    ANT -DQT_NO_DATASTREAM -DQT_NO_PCRE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -
    c -Yc -Fpqmake_pch.pch -TP qmake_pch.h
    qmake_pch.h
    C:\USB\thirdparty\qt\src\corelib\global\qglobal.h(62) : fatal error C1083: Canno
    t open include file: 'QtCore/qconfig.h': No such file or directory
    NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0
    \VC\BIN\amd64\cl.EXE"' : return code '0x2'
    Stop.
    @
    The file QtCore/qconfig.h does not exist. Where do I get it from?

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jim_kaiser
      wrote on last edited by
      #2

      Just curious.. are you in the Qt root folder (i.e C:\USB\thirdparty\qt) when running configure?

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

        I can tell you in advance: To compile Qt, you will need perl and also phyton (well at least for Qt5). In Qt5, that file it only contains the following line:

        @#include "../../src/corelib/global/qconfig.h"@


        JETG

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jim_kaiser
          wrote on last edited by
          #4

          @groenerth: You're talking about the file in the include folder I presume.. Just to clear that... all the files in the include folder just contain a #include like that to the file in the src folder..

          @Vertexwahn: Since you're compiling qglobal.h which is in the same folder as qconfig.h.. and paths not set up to use the global include.. just change the 'QtCore/qconfig.h' to 'qconfig.h'.. But if there are other includes doing the same thing... you're doing something wrong..

          1 Reply Last reply
          0
          • G Offline
            G Offline
            gronerth
            wrote on last edited by
            #5

            [quote author="jim_kaiser" date="1308090805"]@groenerth: You're talking about the file in the include folder I presume.. Just to clear that... all the files in the include folder just contain a #include like that to the file in the src folder.. [/quote]

            Yeap, thats right....

            [quote author="jim_kaiser" date="1308090805"]
            @Vertexwahn: Since you're compiling qglobal.h which is in the same folder as qconfig.h.. and paths not set up to use the global include.. just change the 'QtCore/qconfig.h' to 'qconfig.h'.. But if there are other includes doing the same thing... you're doing something wrong..[/quote]

            It seems that he is running the "make" command in a wrong path...


            JETG

            1 Reply Last reply
            0
            • V Offline
              V Offline
              Vertexwahn
              wrote on last edited by
              #6

              I am in the root path (C:\USB\thirdparty\qt) where configure is located

              I don't have perl installed but phyton - I installed Strawberry Perl now

              Currently I am runing configure again - it seems to work now - just perl was missing

              1 Reply Last reply
              0
              • V Offline
                V Offline
                Vertexwahn
                wrote on last edited by
                #7

                Does Qt5 have its own repository (git://gitorious.org/qt/qt5.git)? What is the difference between git://gitorious.org/qt/qt5.git and git://gitorious.org/qt? Is git://gitorious.org/qt/qt5.git included in git://gitorious.org/qt? (I don't have any experience with git) - what is the sense of the Qt5 submodule

                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