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. Include directory not found when cloning qt source on git
QtWS25 Last Chance

Include directory not found when cloning qt source on git

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 4 Posters 5.0k Views
  • 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 Offline
    S Offline
    sdiaz
    wrote on last edited by
    #1

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

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DenisKormalev
      wrote on last edited by
      #2

      It should be created when you will build qt libraries.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sdiaz
        wrote on last edited by
        #3

        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
        0
        • Z Offline
          Z Offline
          ZapB
          wrote on last edited by
          #4

          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
          0
          • S Offline
            S Offline
            sdiaz
            wrote on last edited by
            #5

            That was it, thanks a lot!

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

            1 Reply Last reply
            0
            • D Offline
              D Offline
              dangelog
              wrote on last edited by
              #6

              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
              0
              • S Offline
                S Offline
                sdiaz
                wrote on last edited by
                #7

                That makes sense. Thanks!

                1 Reply Last reply
                0
                • Z Offline
                  Z Offline
                  ZapB
                  wrote on last edited by
                  #8

                  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
                  0

                  • Login

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