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. Building errors with self-built Qt 5.15.6

Building errors with self-built Qt 5.15.6

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 618 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.
  • C Offline
    C Offline
    Creaperdown
    wrote on last edited by Creaperdown
    #1

    Hey, I've built version 5.15.6 of Qt dynamically, while following the steps in the Qt wiki, but after creating a kit and trying to build my project with it, I get the error:

    /home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:14: error: The imported target "Qt5::Gui" references the file "/home/creapermann/Programming/qt-5.15.6/qtbase/plugins/platforminputcontexts/libqtvirtualkeyboardplugin.so" but this file does not exist.  Possible reasons include: * The file was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and contained "/home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake" but not all the files it references. /home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:219 (_qt5_Gui_check_file_exists) /home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5Gui/Qt5Gui_QVirtualKeyboardPlugin.cmake:5 (_populate_Gui_plugin_properties) /home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5Gui/Qt5GuiConfig.cmake:228 (include) /home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5Widgets/Qt5WidgetsConfig.cmake:99 (find_package) /home/creapermann/Programming/qt-5.15.6/qtbase/lib/cmake/Qt5/Qt5Config.cmake:28 (find_package) CMakeLists.txt:105 (find_package)
    

    Does anyone have an idea on how to fix this?
    I build with the following steps:

    ./configure -shared -opensource -debug -developer-build -feature-wayland-server -feature-wayland-client -skip qtwebengine -nomake tests -nomake examples
    
    make -j 9
    
    sudo make install
    
    make docs
    

    Thanks in advance

    1 Reply Last reply
    0
    • Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on last edited by
      #2

      ./configure should have told you what was build and what not (and for what reaons) - so was virtualkeyboard built or not? If not install the needed dependencies so virtualkeyboard can be build.

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      B 1 Reply Last reply
      0
      • C Offline
        C Offline
        Creaperdown
        wrote on last edited by
        #3

        I did not check if gui was build while running ./configure, is there a command to get a list of what was build afterwards?

        1 Reply Last reply
        0
        • Christian EhrlicherC Christian Ehrlicher

          ./configure should have told you what was build and what not (and for what reaons) - so was virtualkeyboard built or not? If not install the needed dependencies so virtualkeyboard can be build.

          B Offline
          B Offline
          BlueCyCollins
          wrote on last edited by
          #4

          @Christian-Ehrlicher Yes, but it doesn't. I ran into exactly the same situation with 5.15.10 and .11. When I included "webengine" in init-repository (which was another opportunity for the tools to help out) I kept having to add brand new modules from some apparent code refactor. I have a theory about what is going on. Init-repository should be dragging those elements in, but if you look at the pot-init .gitmodules, the "required" subcomponents are not marked as required dependencies, but as "recommended". I think this is the left hand not talking to the right. When init repository looks at its database of modules and dependencies, it sees "recommended" and lists them as such in .gitmodules. Configure on the other hand, seems to be treating "recommended" as required, or they have two different databases they are referring to. I think it's just a bug.

          C 1 Reply Last reply
          0
          • B BlueCyCollins

            @Christian-Ehrlicher Yes, but it doesn't. I ran into exactly the same situation with 5.15.10 and .11. When I included "webengine" in init-repository (which was another opportunity for the tools to help out) I kept having to add brand new modules from some apparent code refactor. I have a theory about what is going on. Init-repository should be dragging those elements in, but if you look at the pot-init .gitmodules, the "required" subcomponents are not marked as required dependencies, but as "recommended". I think this is the left hand not talking to the right. When init repository looks at its database of modules and dependencies, it sees "recommended" and lists them as such in .gitmodules. Configure on the other hand, seems to be treating "recommended" as required, or they have two different databases they are referring to. I think it's just a bug.

            C Offline
            C Offline
            Creaperdown
            wrote on last edited by Creaperdown
            #5

            @BlueCyCollins I see, but is there way for me to build Qt 5.15.6 non the less?

            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