Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Is pretty printing support automatically configured with windows install
I read the following, but it left me confused about whether pretty printing for complex containers was supposed to be automatic. Can someone help me through this? With other IDEs such as eclipse or netbeans I have to do some setup to get the python pretty printing. I'm not clear about whether I have a similar setup to go through with QT or if it should work automatically after the windows install. I have windows 8, and have installed QT5.1 32 bit with Mingw 4.8.
First, I need to know what the expectation is so that I know what to try.
It is expected to work out-of-the-box if you use the SDK from http://qt-project.org/downloads.
Thanks. That is good to know. I just find it odd that I can't get the gdb that came with the mingw that was packaged with the installation to work. I can only get debugging to work if I use the kit that points to my manual installation.
Does anyone know what the "code 1" means when gdb terminates? I googled that and couldn't find anything.
The easiest way to come up with answer for questions about debugger setup problems is to have a look at the debugger log (contents of right side of Windows->Views->Debugger Log).
Thanks for the tip. I've been googling the below messages about the failed python import. I'm using python 2.7.5 so I thought that this was supposed to be an issue with earlier versions. Has anyone else run into this? So far I cannot find a fix, and my mingw4.7 install seems to work okay. It looks like it isn't really a QT issue per say but something with the way that gdb works. I'm also confused why gdb.exe would need the python install. I thought that only the other gdb with python in the name would need python installed.
dUNEXPECTED GDB STDERR: Traceback (most recent call last):
d File "C:\Python27\Lib/site.py", line 548, in <module>
d File "C:\Python27\Lib/site.py", line 530, in main
d known_paths = addusersitepackages(known_paths)
d File "C:\Python27\Lib/site.py", line 266, in addusersitepackages
d user_site = getusersitepackages()
d File "C:\Python27\Lib/site.py", line 241, in getusersitepackages
d user_base = getuserbase() # this will also set USER_BASE
d File "C:\Python27\Lib/site.py", line 231, in getuserbase
d USER_BASE = get_config_var('userbase')
d File "C:\Python27\Lib/sysconfig.py", line 516, in get_config_var
d return get_config_vars().get(name)
d File "C:\Python27\Lib/sysconfig.py", line 449, in get_config_vars
d import re
d File "C:\Python27\Lib/re.py", line 105, in <module>
d import sre_compile
d File "C:\Python27\Lib/sre_compile.py", line 14, in <module>
d import sre_parse
d File "C:\Python27\Lib/sre_parse.py", line 17, in <module>
d from sre_constants import *
d File "C:\Python27\Lib/sre_constants.py", line 18, in <module>
d from _sre import MAXREPEAT
dImportError: cannot import name MAXREPEAT**
dGDB PROCESS FINISHED, status 0, code 1
This indeed pretty much looks like your stand-alone Python installation is broken, and it looks really not Qt or or Qt Creator or Qt SDK related anymore.