-
-
Notifications
You must be signed in to change notification settings - Fork 815
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CMake Error in src/CMakeLists.txt: Imported target "QXlsx::QXlsx" includes non-existent path #3132
Comments
According to pkgs.org website only Arch Linux uses non-standard path for |
Thanks for the hint. |
No, the latest QXlsx versions install separate cmake files for qt5 and qt6: e.g. /usr/lib64/cmake/QXlsxQt5/QXlsxQt5Config.cmake which makes it work for
The Arch package patches the install dir to install 2 copies of the same headers: https://github.com/archlinux/svntogit-community/blob/463e8ac91659f7b332c00e81e27e189528650ab7/trunk/coinstallability.patch#L10 In that setup, the target |
(related to vendor_branching; see also discussion) |
Hello @carlosal1015! Please check the fresh version (development snapshot) of Stellarium: |
Hello @carlosal1015! Please check the latest stable version of Stellarium: |
Not working yet. |
@alex-w 0178624 actually doesn't affect this issue. You updated the version which Stellarium build system installs automatically, but the issue here is caused by the system package on Arch, which is inconsistent, not the one downloaded by stellarium itself when the system package is not found. Note that upstream 1.4.6 is also inconsistent itself (fixed by QtExcel/QXlsx@8c3e663 which will probably be in 1.4.7) but it's broken only when used as system package - your update of QXlsx version gladly didn't break anything in Stellarium. @carlosal1015 Stellarium upstream cannot fix the issue with bad QXlsx package in Arch. Please complain to Arch package maintainers instead. |
@carlosal1015 what you can do is to force Stellarium's cmake to ignore your broken Arch package, e.g. by setting CPM_DOWNLOAD_ALL cmake option. Then it will download the working version of QXlsx. But you still should complain to Arch maintainers about the broken package. |
Now qxlsx-qt6 works out of the box with stellarium 23.4😄 |
Expected Behaviour
cmake configure and create a build directory for compile stellarium.
Actual Behaviour
When
qxlsx-qt6
is installed on the system, we can not configure the build directory because is not found/usr/include/QXlsx
, but exists/usr/include/QXlsxQt6
.Steps to reproduce
System
Logfile
log.txt
The text was updated successfully, but these errors were encountered: