Qt Creator 14 is unable to debug a Qt 5 project
-
@piervalli said in Qt Creator 14 is unable to debut a Qt 5 project:
@cristian-adam For 5.15 Mingw is always the version 8.1 what is now version?
ThanksIf you look at https://wiki.qt.io/MinGW you would notice ... 11.2.0. Which you could also install via the Qt SDK.
-
I've made a screencast showcasing the issue with Qt 5.15.2 MinGW x64 and Qt Creator 14. And also showing how to use a newer debugger and have no issues:
-
@cristian-adam Thanks!
-
-
@cristian-adam You're a lifesaver!
I just installed your toolchain and was able to debug my Qt 5.15 / 32bit programs again.
In my opinion, a current 32 bit MinGW toolchain should be delivered with the online installer.
We are using 32bit 3rd-party libraries (GPIB-32.dll) so switching to 64bit is currently no option.
Thanks again and best regads
-
@AqUaReGiA said in Qt Creator 14 is unable to debug a Qt 5 project:
I have the same problem but I'm using MSVC most prolly cdb has same problem but is there a way to fix it?
https://bugreports.qt.io/browse/QTCREATORBUG-31345
For CDB Qt Creator 14 doesn't come with the 32 bit dll that's used by x86 cdb to load the project.
As it turns out the 64bit cdb, which is supposed to handle both x86 and x86_64, doesn't really work with 32 bit program.
-
@AqUaReGiA said in Qt Creator 14 is unable to debug a Qt 5 project:
but it was working fine when I was using Qt Creator 13.0.2.
You can still use Qt Creator 13.0.2 for that.
Qt Creator 14 has removed a component and this causes issues.
-
@cristian-adam thank
-
I am having the same problem while using QT.6.7.2 and MinGW 11.2.0 for 64x. Since my gdb is already a newer version. I think I should'nt face the same problem but I do actually. I also checked if gdb is running python code:
PS C:\Qt\Tools\mingw1120_64\bin> ./gdb
GNU gdb (GDB) 11.2
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-w64-mingw32".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
https://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word".(gdb) python print("Python 3 is working")
Python 3 is workingAny suggestions?
-
@EmirhanPolat: Please have a look in View > Views > Debugger Log.
PS: To really check the Python version, use something like
python import sys; print(sys.version)
-
-
@cristian-adam Thanks!!!
-