SUMMARY *** NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols. See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports *** STEPS TO REPRODUCE 1. Download from here: https://download.kde.org/stable/kxstitch/2.2.0/kxstitch-2.2.0.tar.xz 2. Extract, enter to directory and build with command: ./build -v 3. Start witch command: kxstitch OBSERVED RESULT QLayout: Attempting to add QLayout "" to MainWindow "MainWindow#", which already has a layout kf5.kxmlgui: cannot find .rc file "kxstitchui.rc" for component "kxstitch" EXPECTED RESULT start the program SOFTWARE/OS VERSIONS Linux: Centos 7 / gnome with qt5 and kf5 required packages installed (available in About System) KDE Plasma Version: 5 KDE Frameworks Version: 5 Qt Version: 5 ADDITIONAL INFORMATION
Please check the output of the following command: qtpaths --install-prefix On my system this is /usr Please check the install_manifest.txt file in the build folder which should have something like the following: /usr/share/kxmlgui5/kxstitch/kxstitchui.rc where /usr will be replaced by the output from qtpaths. Check that the file exists in the folder specified. I have just tried the steps you specified and KXStitch starts correctly for me. Ignore the warning about the layout. Thanks
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Hi, Result of command: qtpaths --install-prefix is: /usr/lib64/qt5 I build kxstitch a few times, so I have now two buid folders. In first folder i install_manifest.txt file I have path: /share/kxmlgui5/kxstitch/kxstitchui.rc and in second build folder I have path: /usr/lib64/qt5/share/kxmlgui5/kxstitch/kxstitchui.rc When I go to those folders and run kxstitch (./kxstitch) in both cases error arrive. I doing this in Centos 7 with kde installed via yum group install command. When I created virtual machine with fedora 35 and I can install and run kxstitch normally, without any error. Can I somehow uninstall kxstitch from the system? Install script was installed it to /usr/bin/ maybe first install from first build folder was wrong and I must uninstall it completely before second attempt. Is there any uninstall script to do this? Or I just need to remove folders: /share/kxmlgui5/kxstitch /usr/lib64/qt5/share/kxmlgui5/kxstitch ? Regards!
I'm confused as to how you have installed to different folders. But to remove the files you can either open the respective install_manifest.txt files and then either manually delete the files listed, or I believe you can run the following command: xargs rm <install_manifest.txt This will pass all the files listed in install_manifest.txt to the rm command. I haven't ever tried this personally, but it comes up in a google search. If you do this for each of the build folders, it should remove everything that was installed for KXStitch. You can then try installing again. As you noted, it worked fine for Fedora, so it may be a peculiarity with the CentOS installation and I'm not familiar enough with it to come to a conclusive diagnosis. Thanks