mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-15 23:01:01 -08:00
support both Qt5 and Qt6
This commit is contained in:
parent
07f5fd05a0
commit
4440c06e70
6 changed files with 21 additions and 11 deletions
|
|
@ -80,7 +80,11 @@ int main(int argc, char* argv[]) {
|
|||
|
||||
bool slime = false;
|
||||
if (arguments.contains("-slime")
|
||||
#if QT_VERSION < 0x060000
|
||||
|| (arguments.indexOf(QRegularExpression::wildcardToRegularExpression("*start-swank*.lisp")) != -1)) {
|
||||
#else
|
||||
|| (arguments.indexOf(QRegularExpression::fromWildcard(QString("*start-swank*.lisp"))) != -1)) {
|
||||
#endif
|
||||
arguments.removeAll("-slime");
|
||||
slime = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue