Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt5.6.1+CMake problem: QDesignerCustomWidgetInterface (and related) headers in wrong location
Forum Updated to NodeBB v4.3 + New Features

Qt5.6.1+CMake problem: QDesignerCustomWidgetInterface (and related) headers in wrong location

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 943 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.
  • J Offline
    J Offline
    Jakob
    wrote on last edited by Jakob
    #1

    We're trying to upgrade from qt 5.6.0 to qt 5.6.1. We're building Qt from source, and having some problems with the location of the headers corresponding to the QtUiPlugin module.

    In qt5.6.0 these headers ended up in qtbase/include/QtUiPlugin and the CMake config files correctly set that location as INTERFACE_INCLUDE_DIRECTORIES to the Qt5::UiPlugin target.

    In qt5.6.1 these same headers end up in qttools/include/QtUiPlugin and the qtbase/include/QtUiPlugin folder remains empty (except for a QtUiPluginDepends file) - however, the CMake config files still point INTERFACE_INCLUDE_DIRECTORIES to the latter location (due to some hardcoded ../../../-stuff in there)

    The obvious result: we can't compile any designer plugins, because the QDesignerCustomWidgetInterface interface can't be found.

    Did the intended location for these headers change and did we hit a bug in the CMake-files? Or did we miss a setting for the build? We're using in-source builds (because the --prefix option does not work properly on Windows (7) )

    [Edit]
    We just looked up the arguments we passed to the configure script, maybe that helps figuring out what is going wrong:
    -debug-and-release
    -nomake
    examples
    -opengl
    desktop
    -opensource
    -force-debug-info

    J 1 Reply Last reply
    0
    • J Jakob

      We're trying to upgrade from qt 5.6.0 to qt 5.6.1. We're building Qt from source, and having some problems with the location of the headers corresponding to the QtUiPlugin module.

      In qt5.6.0 these headers ended up in qtbase/include/QtUiPlugin and the CMake config files correctly set that location as INTERFACE_INCLUDE_DIRECTORIES to the Qt5::UiPlugin target.

      In qt5.6.1 these same headers end up in qttools/include/QtUiPlugin and the qtbase/include/QtUiPlugin folder remains empty (except for a QtUiPluginDepends file) - however, the CMake config files still point INTERFACE_INCLUDE_DIRECTORIES to the latter location (due to some hardcoded ../../../-stuff in there)

      The obvious result: we can't compile any designer plugins, because the QDesignerCustomWidgetInterface interface can't be found.

      Did the intended location for these headers change and did we hit a bug in the CMake-files? Or did we miss a setting for the build? We're using in-source builds (because the --prefix option does not work properly on Windows (7) )

      [Edit]
      We just looked up the arguments we passed to the configure script, maybe that helps figuring out what is going wrong:
      -debug-and-release
      -nomake
      examples
      -opengl
      desktop
      -opensource
      -force-debug-info

      J Offline
      J Offline
      Jakob
      wrote on last edited by
      #2

      We fixed the problem ourselves - seems like our devop never did the install-step. So for future reference: building from source is 3 steps: configure, build, install

      Btw, there are many comments around the Internet that a prefix-build doesn't work very well for Windows: totally untrue. It works flawlessly, as long as you do what the documentation does, so RTFM

      1 Reply Last reply
      2

      • Login

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