Building errors with self-built Qt 5.15.6
-
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 docsThanks in advance
-
./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.
-
I did not check if gui was build while running ./configure, is there a command to get a list of what was build afterwards?
-
./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.
@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.
-
@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.
@BlueCyCollins I see, but is there way for me to build Qt 5.15.6 non the less?