Files
qt-migration-legatus/qt6-after/qt6-migrated-legatus/Lts/Common/LtsWidgets/tests/main.cpp
T
torstenandCopilot d890b11c5f Qt6 Migration: LtsWidgets, BUILD_RTI Guards, externe Dependencies dokumentiert
- LtsWidgets Verzeichnis vollständig migriert (Qt5→Qt6)
- BUILD_RTI Guards für RTI-spezifische Module hinzugefügt
- Externe Dependencies in EXTERNAL_DEPS.md dokumentiert
- Qt6 API-Änderungen: QRegExp→QRegularExpression, enterEvent(QEnterEvent*)
- AutoUic-Fehler bei ui_requirement behoben (SKIP_AUTOUIC)
- Include-Pfade korrigiert (LtsElevation, LtsMultiMonitor, LtsUtilsCore)
- MOC-Fehler behoben (Q_INTERFACES entfernt wo nicht benötigt)
- CMakeLists.txt Anpassungen für Qt6 (PUBLIC statt INTERFACE)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-08-21 10:29:34 +02:00

32 lines
502 B
C++

#include <QApplication>
#include "window.h"
#include <LtsWidgets/lts_date_time_edit.h>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
// LtsWidgets::Window w;
// w.show();
// w.activateWindow();
// w.show();
LtsWidgets::LtsDateTimeEdit dte;
dte.activateWindow();
dte.show();
// LtsWidgets::LtsDateTimeEditMod dtemod;
// dtemod.activateWindow();
// dtemod.show();
//dtemod.setMsecsSinceEpoch(979216496789); // 11 12345678(9) Z jan 01
return app.exec();
}