Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QtCreator no longer shows Qstring values in debug...



  • Hey

    I'm lost, my creator has stopped showing me strings and other values. They are just <not accessible> how on earth do I fix it ? I tried updating to latest QT and creator. nothing helps.

    TIA


  • Lifetime Qt Champion

    @Dariusz said in QtCreator no longer shows Qstring values in debug...:

    Hey
    I'm lost, my creator has stopped showing me strings and other values. They are just <not accessible> how on earth do I fix it ? I tried updating to latest QT and creator. nothing helps.
    TIA

    HI @Dariusz,

    • Which platform is that?
    • Which compiler?
    • Which Creator and Qt versions exactly?
    • Does it happen with a minimal Hello World program also?

    Does the Debugger Log (Windows > Views > Debugger Log) show anything suspicious?



  • @aha_1980
    Win10x64
    MSVC 17/19/20
    Qt 5.14.0 - and previous one
    0ed1dc73-ae75-4873-9235-6216f14d9b16-image.png

    Does the Debugger Log (Windows > Views > Debugger Log) show anything suspicious?
    

    Define suspicious...

    A qt example seems to show QString, but my app during debug/break point does not :- (



  • Another thing, it seems that after reinstalling when QT load cmake project it loads all cpp in to Source folder and all Header in to header folder... is there a way to disable it? I want to see my project the way I see it in explorer... with folders and all.

    Any idea?


  • Lifetime Qt Champion

    Hi @Dariusz,

    Sorry, I cannot help with MSVC, I don't even have Windows on my machine.

    But if a small example works, it might be related with your project, and be it the pure size of the project or the function...

    Suspicious, well anything containing warning or error?

    Regarding your CMake issue, that looks like QTCREATORBUG-23372.

    Regards


Log in to reply