Does not compile with qt6.7 -> solution
Hi, I have no experience with c++ or qt, so please be kind if what I'm saying is wrong in some way.
I tried to build DSRemote on linux mint and the qtmake command just gave me the error:
qmake: could not find a Qt installation of ''
Some back and forth and I got qt6 running but it was version 6.7, so I got:
Project ERROR: This project needs Qt4 version >= 4.7.1 or Qt5 version >= 5.9.1 or Qt6 version >= 6.4.1
I simply removed the checks and compilation started fine until:
mainwindow_constr.cpp:194:24: error: no matching function for call to ‘QMenu::addAction(const char [5], QKeySequence::StandardKey, UI_Mainwindow*, const char [9])’
ChatGPT told me to change line mainwindow_constr.cpp:194
from
devicemenu->addAction("Exit", QKeySequence::Quit, this, SLOT(close()));
to
connect(devicemenu->addAction("Exit"), &QAction::triggered, this, &QWidget::close);
which worked flawlessly
So if anyone finds this or if Teuniz wants to update this project to work with qt6.7, it is not too bad.
Unfortunately all links at openSuse that point to AppImage files are dead now. I would liked to have DSRemote ad an AppImage for my linux mint