Describe the bug
Simple project runs under Linux but fails under Windows.
To Reproduce
Steps to reproduce the behavior:
Compile project under Windows
Start it inside QtCreator (under cmdline there is not output)
Aborted
Expected behavior
Working as it runs with the same code under Linux w/o any errors/warnings
Screenshots
App output:
11:03:36: Starte C:\Projects\mapwidget-test-Desktop_Qt_6_2_2_MSVC2019_64bit-Debug\debug\mapwidget-test.exe...
QCoreApplication::applicationDirPath: Please instantiate the QApplication object first
QWidget: Must construct a QApplication before a QWidget
11:03:39: C:\Projects\mapwidget-test-Desktop_Qt_6_2_2_MSVC2019_64bit-Debug\debug\mapwidget-test.exe ist abgestürzt.
Message when running in debugger:
Traceback when running in debugger:
Platform information (please complete the following information):
OS: Windows 10 (inside a QEmu VM)
Qt version 6.6.3
QtCreator 14.0.1 (Windows)
QMapLibreQt version 3.0.0 (from GIT)
Additional context
This is my first opengl project. It may be that i miss something.
The message "... Please instantiate the QApplication object first ..." from the app output above is only displayed under Windows - not under Linux.
The windows environment is running under Proxmox (qemu vm system).
Describe the bug Simple project runs under Linux but fails under Windows.
To Reproduce Steps to reproduce the behavior:
Expected behavior Working as it runs with the same code under Linux w/o any errors/warnings
Screenshots App output:
Message when running in debugger:
Traceback when running in debugger:
Platform information (please complete the following information):
Additional context This is my first opengl project. It may be that i miss something.
The message "... Please instantiate the QApplication object first ..." from the app output above is only displayed under Windows - not under Linux.
The windows environment is running under Proxmox (qemu vm system).
Here the project: demo-map.zip
The *.pro file may have to be changed. This includes the LIBS and INCLUDEPATH variables which point to the QMapLibre installation.