qmake6 \
PREFIX=/usr \
QMAKE_CFLAGS="${CFLAGS}" \
QMAKE_CXXFLAGS="${CXXFLAGS}" \
QMAKE_LFLAGS="${LDFLAGS}"
make
Info: creating stash file /build/qt-sudo/src/qt-sudo/.qmake.stash
/usr/lib/qt6/uic passworddialog.ui -o ui_passworddialog.h
g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -g -Wall -Wextra -mno-direct-extern-access -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_USE_QSTRINGBUILDER -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_FROM_BYTEARRAY -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o main.o main.cpp
g++ -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wp,-D_GLIBCXX_ASSERTIONS -flto=auto -g -Wall -Wextra -mno-direct-extern-access -D_REENTRANT -DQT_DEPRECATED_WARNINGS -DQT_USE_QSTRINGBUILDER -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_TO_ASCII -DQT_NO_URL_CAST_FROM_STRING -DQT_NO_CAST_FROM_BYTEARRAY -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -I. -I/usr/include/qt6 -I/usr/include/qt6/QtWidgets -I/usr/include/qt6/QtGui -I/usr/include/qt6/QtCore -I. -I. -I/usr/lib/qt6/mkspecs/linux-g++ -o sudo.o sudo.cpp
/usr/lib/qt6/bin/lrelease translations/lxqt-sudo_vi.ts -qm .qm/lxqt-sudo_vi.qm
make: /usr/lib/qt6/bin/lrelease: No such file or directory
make: *** [Makefile:455: .qm/lxqt-sudo_vi.qm] Error 127
make: *** Waiting for unfinished jobs....
main.cpp: In function ‘int main(int, char**)’:
main.cpp:48:24: warning: ‘Qt::AA_UseHighDpiPixmaps’ is deprecated: High-DPI pixmaps are always enabled. This attribute no longer has any effect. [-Wdeprecated-declarations]
48 | app.setAttribute(Qt::AA_UseHighDpiPixmaps, true);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qobjectdefs.h:12,
from /usr/include/qt6/QtCore/qobject.h:10,
from /usr/include/qt6/QtCore/QObject:1,
from sudo.h:31,
from main.cpp:38:
/usr/include/qt6/QtCore/qnamespace.h:438:9: note: declared here
438 | AA_UseHighDpiPixmaps Q_DECL_ENUMERATOR_DEPRECATED_X(
| ^~~~~~~~~~~~~~~~~~~~
sudo.cpp: In member function ‘int Sudo::main()’:
sudo.cpp:229:24: warning: ‘static void QApplication::setActiveWindow(QWidget*)’ is deprecated: Use QWidget::activateWindow() instead. [-Wdeprecated-declarations]
229 | qApp->setActiveWindow(mDlg.data());
In file included from /usr/include/qt6/QtWidgets/QApplication:1,
from sudo.cpp:35:
/usr/include/qt6/QtWidgets/qapplication.h:84:17: note: declared here
84 | static void setActiveWindow(QWidget* act);
| ^~~~~~~~~~~~~~~