update dependencies

This commit is contained in:
Pierre Ducroquet 2023-10-20 17:40:03 +02:00
parent b537b8fea0
commit bb8047be1a
2 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
find_package(QT NAMES Qt6 Qt5 REQUIRED COMPONENTS Network Widgets LinguistTools WebEngineWidgets Sql Charts)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Network Widgets LinguistTools WebEngineWidgets Sql Charts)
find_package(QCoro${QT_VERSION_MAJOR} REQUIRED COMPONENTS Core Network)
find_package(KF${QT_VERSION_MAJOR}Archive)
find_package(KF${QT_VERSION_MAJOR}Archive REQUIRED)
qcoro_enable_coroutines()

View File

@ -26,7 +26,7 @@ What I plan to add:
- [x] a better interface to get the KVM,
- [x] hardware information
- [x] server monthly cost
- [~] view of pending tasks on a given server (in progress),
- [x] view of pending tasks on a given server (in progress),
- [ ] support for vrack on dedicated servers,
- [ ] a dedicated **searchable** bill view, because it's an ugly mess on OVH side.
- [ ] switch to KDDockWidgets for a nicer interface, maybe
@ -38,10 +38,10 @@ Easy peasy, mkdir build && pushd build && cmake .. && make -j 42
Dependencies are in debian testing and likely elsewhere, but for fun and learning I decided to use C++20 and coroutines.
It means GCC 10 or Clang 11 minimum.
I only tested Qt 5 so far, but I don't see why it shouldn't work with Qt 6. For the KVM, I had no choice but to use QtWebEngine, sadly.
I test mostly on Qt5 but I sometimes launch it with Qt6 to make sure it remains compatible as much as possible. For the KVM, I had no choice but to use QtWebEngine, sadly. JavaWS KVM are also supported, but only when HTML5 is not available.
And obviously, in order to bind these requirements in the darkness, QCoro, tested with versions 0.8 and 0.9.
So debian dependencies: apt install cmake qttools5-dev qcoro-qt5-dev qtwebengine5-dev
So debian dependencies: apt install cmake qttools5-dev qcoro-qt5-dev qtwebengine5-dev libkf5archive-dev
I have not tested this on Windows nor MacOS. I'm more likely to test it on Haiku than on these OSs...
I have not tested this on Windows nor MacOS. I'm more likely to test it on Haiku than on these OSs... As a matter of fact I do, cubbie. It is not flawless sure, but it works and the bugs are mostly in Qt/QtWebEngine or lower level issues.