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. [Solved] Include directory not right when building Qt 5.1.1 from source
Forum Updated to NodeBB v4.3 + New Features

[Solved] Include directory not right when building Qt 5.1.1 from source

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 1.6k 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.
  • E Offline
    E Offline
    eos pengwern
    wrote on last edited by
    #1

    I have the regular 5.1.0 binary distribution installed on my old computer, but for my new development system I'm building 5.1.1 from source for a variety of reasons I won't bore you with. Everything seems to work well; the build completes without errors and everything ends up looking as I'd expect it to, except for the "include" directory which is generated in the working directory by 'make'.

    My home-built 'include' directory has subdirectories for each of the major Qt modules, as I'd expect, but inside these subdirectories there are just single files - for example, the 'QtWidgets' subdirectory contains a single file called "QtWidgetsDepends" (with no suffix) instead of what I'd expect, namely qabstractbutton.h, qabstractitemdelegate.h etc.

    I've experimented with various different configuration options, but none seem to make any difference; the result is the same in each case. For the record, here is my build batch file:

    @
    CALL "C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\vcvarsall.bat" amd64
    set PATH=C:\Qt\5.1.1\src\qtbase;C:\Qt\5.1.1\src\qtrepotools\bin;C:\Qt\5.1.1\src\gnuwin32\bin;C:\Qt\jom;%PATH%
    set QMAKESPEC=win32-msvc2010

    configure -opensource -opengl desktop
    jom
    @

    Please can someone point out to me what I'm doing wrong here?

    1 Reply Last reply
    0
    • E Offline
      E Offline
      eos pengwern
      wrote on last edited by
      #2

      (Slaps head, says 'd-oh!')

      I left out two important steps:

      1. Include '-prefix C:\Qt\5.1.1\x86_64' (for example) at the end of the 'configure' statement
      2. Put 'jom install' on the next line after the first 'jom' command.

      ...and now it works fine.

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

        Pls edit your topic to include "SOLVED" :)

        http://www.goblincoding.com

        1 Reply Last reply
        0
        • E Offline
          E Offline
          eos pengwern
          wrote on last edited by
          #4

          Aha, so that's how it works! I'd been trying to find a 'solved' check box on the web page to tick.

          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