Migrates non-ArcGIS built successfully (tbc)

This commit is contained in:
torsten committed 2026-09-24 16:49:49 +02:00
1 parent b6a97c39e5
commit c664611b80
6 files changed
+45 -12

No files matched your search

@@ -64,15 +64,14 @@ NGL_INSTALL_TARGET(LtsDataView)
# Test-Executable
NGL_ADD_EXECUTABLE(WS NO_TRANSLATION LtsDataViewTest test.h test.cpp)
if(QT6_GUI_AVAILABLE)
NGL_TARGET_LINK_LIBRARIES(LtsDataViewTest
${Qt6_Widgets}
LtsDataView
LtsWidgets
)
endif()
NGL_TARGET_LINK_LIBRARIES(LtsDataViewTest
${Qt6_Widgets}
LtsDataView
LtsWidgets
)
# Register test with CTest
if(BUILD_TESTING)
add_test(NAME LtsDataViewTest COMMAND $<TARGET_FILE:LtsDataViewTest>)
set_tests_properties(LtsDataViewTest PROPERTIES ENVIRONMENT "QT_QPA_PLATFORM=offscreen")
endif()
@@ -19,6 +19,7 @@
#include <QElapsedTimer>
#include <QtWidgets/QScrollArea>
#include <QScroller>
#include <QTimer>
Disp::Disp()
@@ -99,5 +100,8 @@ int main(int argc, char **argv)
qWarning() << "took" << et.elapsed() << "ms";
// Auto-exit for CI/headless testing
QTimer::singleShot(1000, &app, &QApplication::quit);
return app.exec();
}