我正在尝试在 Ubuntu 13.10 上构建sdrangelove,它需要 Qt 5 并使用 CMake 作为其构建系统。我需要安装什么包才能提供它在这里要求的文件?
有很多*qt5*软件包,我试过安装那些看起来很有前途的软件包,但没有效果。我发现的所有讨论要么工作正常,要么在谈论编写 CMake 构建规则而不是执行它们。我在组织 Debian/Ubuntu 打包方面没有很多经验。
CMake Error at CMakeLists.txt:14 (find_package):
By not providing "FindQt5Core.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "Qt5Core", but
CMake did not find one.
Could not find a package configuration file provided by "Qt5Core"
(requested version 5.0) with any of the following names:
Qt5CoreConfig.cmake
qt5core-config.cmake
Add the installation prefix of "Qt5Core" to CMAKE_PREFIX_PATH or set …Run Code Online (Sandbox Code Playgroud) 我my-app.desktop为我编写的程序创建了一个文件。当我双击它时,我收到错误消息“启动应用程序时出错”。如何获得有关问题所在的更多详细信息?
我看到了对对话框“详细信息”部分的引用,但在我看到的内容中没有类似的内容。如果我在我的 Mac 上,我会打开控制台应用程序以查看是否记录了任何错误,但我没有在 Ubuntu 上了解任何类似的内容。
(请注意,与其他类似标题的问题不同,我不是在问这个特定的 .desktop 文件有什么问题;我想知道如何找出一般情况。)