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. Header files missing after local build of Qt 5.3

Header files missing after local build of Qt 5.3

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 1.0k 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.
  • R Offline
    R Offline
    ryan_mcneill
    wrote on last edited by
    #1

    Hi,

    I trying to build Qt 5.3 locally from the open source distribution to mesh correctly with our(externally developed) testing tools, but there are header and lib files missing from the expected directories after the build completes which are needed by our testing app's build(We're essentially rebuilding the vendor's app to work with Qt 5.3).

    The files are coming from QtDeclarative, namely qquickitem.h and qdeclarativeitem.h. They are part of the source distribution, but after the build completes, they aren't copied into the appropriate folder in the qtbase build folder. I do know that in previous versions, there was a -no-declarative build option, but it isn't in 5.3. Is there an equivalent?

    Are there any other build options I need to set to get the headers copied and the libs built(or possibly ignored)? I don't think they're actually needed by our testing software.

    The build config command I'm using is as follows:

    configure -platform win32-msvc2010 -mp -nomake tests -nomake examples -opensource -opengl desktop -openssl -debug-and-release -confirm-license <licensing folder> -prefix <qtbase directory> -incredibuild-xge -I <Open SSL lib directory> -L <Open SSL lib directory> -icu -I <unicode include directory> -L <unicode lib directory>

    Thanks,
    Ryan

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi and welcome to the Qt Dev Net!

      [quote]
      -prefix <qtbase directory>
      [/quote]I'm note sure what happens if you set the prefix to the qtbase folder.

      The prefix option is supposed to take an external folder where you want to install Qt. The qtbase folder is meant to be a temporary place where the binaries are built. At the end of the build process, files are copied from the qtbase directory into your prefix directory.

      Try setting your prefix somewhere else, and remember to call make install after make. (You will need to fully clean your source tree and qtbase folder, then re-configure and re-build)

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      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