Created attachment 160247 [details] build logs Hello, I cloned the project "https://invent.kde.org/sdk/ktechlab" and followed the instruction to build it after the installation of all the dependencies. The project does not build because of 2 errors. Please find the log file in attachment. Thanks for your help.
Comment on attachment 160247 [details] build logs == starting build at mer. 12 juil. 2023 11:44:11 CEST == [ 1%] Generating ts... [ 1%] Generating mo... [ 1%] Built target tsfiles-073a86723a69281a85f2259982bbd97b [ 1%] Automatic MOC for target microbe [ 1%] Built target microbe_autogen [ 1%] Automatic MOC for target test_ktechlab [ 1%] Built target test_ktechlab_autogen [ 1%] Automatic MOC for target ktechlab [ 1%] Built target ktechlab_autogen [ 1%] Automatic MOC for target core [ 1%] Built target pofiles-073a86723a69281a85f2259982bbd97b [ 1%] Built target core_autogen [ 1%] Automatic MOC for target elements [ 1%] Automatic MOC for target flowparts [ 1%] Built target elements_autogen [ 1%] Automatic MOC for target micro [ 1%] Built target flowparts_autogen [ 1%] Built target micro_autogen [ 1%] Automatic MOC for target mechanics [ 1%] Automatic MOC for target drawparts [ 1%] Built target drawparts_autogen [ 1%] Built target mechanics_autogen [ 1%] Automatic MOC for target ktlqt3support [ 1%] Automatic MOC for target math [ 1%] Built target math_autogen [ 1%] Built target ktlqt3support_autogen [ 1%] Built target doc-en-index-cache-bz2 [ 1%] Building CXX object microbe/CMakeFiles/microbe.dir/instruction.cpp.o [ 1%] Automatic MOC for target test_loaded_icons [ 1%] Built target test_loaded_icons_autogen [ 1%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/itemeditor/propertyeditorlist.cpp.o /home/charles/ktechlab/ktechlab/microbe/instruction.cpp: In member function ‘virtual QString Instr_sourceCode::code() const’: /home/charles/ktechlab/ktechlab/microbe/instruction.cpp:3758:50: error: ‘SkipEmptyParts’ is not a member of ‘Qt’ 3758 | QStringList sourceLines = m_raw.split("\n", Qt::SkipEmptyParts); // QString::split("\n",m_raw); | ^~~~~~~~~~~~~~ make[2]: *** [microbe/CMakeFiles/microbe.dir/build.make:180 : microbe/CMakeFiles/microbe.dir/instruction.cpp.o] Erreur 1 make[1]: *** [CMakeFiles/Makefile2:1600 : microbe/CMakeFiles/microbe.dir/all] Erreur 2 make[1]: *** Attente des tâches non terminées.... [ 1%] Building CXX object src/CMakeFiles/test_ktechlab.dir/gui/itemeditor/orientationwidget.cpp.o /home/charles/ktechlab/ktechlab/src/gui/itemeditor/propertyeditorlist.cpp: In constructor ‘PropertyEditorList::PropertyEditorList(QWidget*, Property*)’: /home/charles/ktechlab/ktechlab/src/gui/itemeditor/propertyeditorlist.cpp:130:64: error: ‘textActivated’ is not a member of ‘PropComboBox’ 130 | connect(m_combo, qOverload<const QString &>(&PropComboBox::textActivated), this, &PropertyEditorList::valueChanged); | ^~~~~~~~~~~~~ make[2]: *** [src/CMakeFiles/test_ktechlab.dir/build.make:265 : src/CMakeFiles/test_ktechlab.dir/gui/itemeditor/propertyeditorlist.cpp.o] Erreur 1 make[2]: *** Attente des tâches non terminées.... make[1]: *** [CMakeFiles/Makefile2:1654 : src/CMakeFiles/test_ktechlab.dir/all] Erreur 2 make: *** [Makefile:141 : all] Erreur 2
Created attachment 160249 [details] build logs latest
My version of QT is 5.12.8
You need at least Qt 5.14 (or maybe even 5.15)
thx. I'll try that
Assuming that you successfully built KTechLab since the last comment. If you still have issues with the build process, feel free to reopen this bug. Closing.