-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 17.0.1
-
None
-
-
2025wk38s2QtforAndroid, 2025wk40s2-3QtforAndroid
I'm deploying C++ apps to Android using QtCreator.
I am using Qt 6.9.0 with QtCreator 16.0.1. I can set a breakpoint to the main application, start the app in Debug mode and the app stops on the breakpoint. Note that it uses NDK r26b.
I tested Qt 6.9.2 with QtCreator 17.0.1. I can set a breakpoint to the main application, but when I start the app "Launching debugger" is shown and stops progression, then remains for ever, the app starts on the device but does not stop on the breakpoint. Note that it uses NDK r27c.
See attached screenshots. It's reproductible with any basic app, here is one for the record:
#include <QApplication> #include <QMainWindow> #include <QVBoxLayout> #include <QLabel> int main( int argc, char* argv[] ) { QApplication app(argc, argv); QMainWindow dlg; QWidget centralWidget; centralWidget.setLayout( new QVBoxLayout() ); centralWidget.layout()->addWidget( new QLabel("HELLO") ); dlg.setCentralWidget(¢ralWidget); dlg.show(); return app.exec(); }
Attached QtCreator output