[GH-ISSUE #2223] [APP BUG]: Building on Linux Ubuntu 22.04 #763

Closed
opened 2026-02-27 21:08:00 +03:00 by kerem · 1 comment
Owner

Originally created by @Shekswess on GitHub (Jan 23, 2025).
Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2223

Checklist

  • I have searched for a similar issue in this repository and did not find one.
  • I am using an official build obtained from releases or updated one of those builds using its in-app updater.

Describe the Bug

Greetings !!!

I had multiple problems starting the build of the package. I'm following the official Linux installation steps. Firstly I've got an error about the lconvert from qt:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message):
  The imported target "Qt6::lconvert" references the file

     "/usr/lib/qt6/bin/lconvert"

  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

     "/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:47 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
  cMake/FreeCAD_Helpers/SetupQt.cmake:33 (find_package)
  CMakeLists.txt:82 (include)

I fixed that with installing

sudo apt -y install qt6-l10n-tools

Then I got error:

CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message):
  The imported target "Qt6::lprodump" references the file

     "/usr/lib/qt6/libexec/lprodump"

  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

     "/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:47 (include)
  /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package)
  cMake/FreeCAD_Helpers/SetupQt.cmake:33 (find_package)
  CMakeLists.txt:82 (include)

I fixed that with installing:

sudo apt -y install qt6-tools-dev-tools

And lastly I've got the error:

CMake Error at CMakeLists.txt:160 (qt_standard_project_setup):
  Unknown CMake command "qt_standard_project_setup".

What can I do to fix it ?

Reproduction Steps

By running the command:

cmake -S . -B build/ -DENABLE_QT_GUI=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++  

Expected Behavior

No response

Specify OS Version

Linux Ubuntu 22.04

Originally created by @Shekswess on GitHub (Jan 23, 2025). Original GitHub issue: https://github.com/shadps4-emu/shadPS4/issues/2223 ### Checklist - [x] I have searched for a similar issue in this repository and did not find one. - [x] I am using an official build obtained from [releases](https://github.com/shadps4-emu/shadPS4/releases) or updated one of those builds using its in-app updater. ### Describe the Bug Greetings !!! I had multiple problems starting the build of the package. I'm following the official Linux installation steps. Firstly I've got an error about the lconvert from qt: ``` CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message): The imported target "Qt6::lconvert" references the file "/usr/lib/qt6/bin/lconvert" 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 "/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:47 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package) cMake/FreeCAD_Helpers/SetupQt.cmake:33 (find_package) CMakeLists.txt:82 (include) ``` I fixed that with installing ``` sudo apt -y install qt6-l10n-tools ``` Then I got error: ``` CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake:131 (message): The imported target "Qt6::lprodump" references the file "/usr/lib/qt6/libexec/lprodump" 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 "/usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsTargets.cmake" but not all the files it references. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake:47 (include) /usr/lib/x86_64-linux-gnu/cmake/Qt6/Qt6Config.cmake:219 (find_package) cMake/FreeCAD_Helpers/SetupQt.cmake:33 (find_package) CMakeLists.txt:82 (include) ``` I fixed that with installing: ``` sudo apt -y install qt6-tools-dev-tools ``` And lastly I've got the error: ``` CMake Error at CMakeLists.txt:160 (qt_standard_project_setup): Unknown CMake command "qt_standard_project_setup". ``` What can I do to fix it ? ### Reproduction Steps By running the command: ``` cmake -S . -B build/ -DENABLE_QT_GUI=ON -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ``` ### Expected Behavior _No response_ ### Specify OS Version Linux Ubuntu 22.04
kerem closed this issue 2026-02-27 21:08:00 +03:00
Author
Owner

@tomboylover93 commented on GitHub (Jan 23, 2025):

Your version of Ubuntu is too old to have the versions of the build dependencies that shadPS4 requires. Try using a Ubuntu 24.04 Distrobox or updating your system to Ubuntu 24.04 or above.

<!-- gh-comment-id:2611214015 --> @tomboylover93 commented on GitHub (Jan 23, 2025): Your version of Ubuntu is too old to have the versions of the build dependencies that shadPS4 requires. Try using a Ubuntu 24.04 Distrobox or updating your system to Ubuntu 24.04 or above.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#763
No description provided.