Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Forum Updated on Feb 6th

    Include directory not found when cloning qt source on git

    Installation and Deployment
    4
    8
    4655
    Loading More Posts
    • 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.
    • S
      sdiaz last edited by

      Am I supposed to copy it from elsewhere or is there something simple I'm failing to see?

      1 Reply Last reply Reply Quote 0
      • D
        DenisKormalev last edited by

        It should be created when you will build qt libraries.

        1 Reply Last reply Reply Quote 0
        • S
          sdiaz last edited by

          You mean when doing configure + nmake? I'm on Windows, by the way, my first post was scarce.
          When I execute this line:

          configure -platform win32-msvc2008 -debug-and-release

          It fails with this message:

          C:\Qt\4.8\src\corelib\global\qglobal.h(62) : fatal error C1083: Cannot open include file: 'QtCore/qconfig.h': No such file or directory

          Actually, now that I take a closer look, it seems it's failing when building qmake.

          1 Reply Last reply Reply Quote 0
          • Z
            ZapB last edited by

            Make sure you have perl installed. The syncqt tool that configure uses to prepare the forwarding includes is a perl script.

            Nokia Certified Qt Specialist
            Interested in hearing about Qt related work

            1 Reply Last reply Reply Quote 0
            • S
              sdiaz last edited by

              That was it, thanks a lot!

              Is that something new? I was able to compile 4.7.3 without problems.

              1 Reply Last reply Reply Quote 0
              • D
                dangelog last edited by

                Stable, official releases don't require the syncqt tool to build the include/ directory. Building from git does require it.

                Software Engineer
                KDAB (UK) Ltd., a KDAB Group company

                1 Reply Last reply Reply Quote 0
                • S
                  sdiaz last edited by

                  That makes sense. Thanks!

                  1 Reply Last reply Reply Quote 0
                  • Z
                    ZapB last edited by

                    Official releases have already have syncqt executed by the release team prior to zipping/tarballing. If building form git the onus is on the developer to do it.

                    Nokia Certified Qt Specialist
                    Interested in hearing about Qt related work

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post