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

Can't run a simple 32 bit Application both in release and in debug



  • I'm working on Windows7 64 bit, QT 5.4.2, QtCreator 4.5.1
    I've also installed Microsoft Visual C++ 2013 community edition.

    So I have two kits:
    Desktop Qt 5.4.2 MSVC2013 32bit
    Desktop Qt 5.4.2 MSVC2013 64bit

    I created the simplest possible GUI application with one of the standard wizard.
    Then I built it with the "Desktop Qt 5.4.2 MSVC2013 64bit" kit. It works and I can also run it
    under the debugger.

    With the other kit, the program is built correctly but the application fail to load or crash.
    In particular, after building with "Desktop Qt 5.4.2 MSVC2013 32bit", when I run the debugger, appears a popup windows:

    "The CDB process terminated"

    The same in release.

    The setting for this kit are:
    Compiler:
    C -> Microsoft Visual C++ Compiler 12.0 (x86)
    C++ -> Microsoft Visual C++ Compiler 12.0 (x86)
    Environment:
    No changes to apply
    Debugger:
    Auto-detected CDB at C:\Program Files (X86)\Windows Kits\Debuggers\x86\cdb.exe

    What else can I check?



  • @kuhdav said in Can't run a simple 32 bit Application both in release and in debug:

    What else can I check?

    Do you have installed Qt for both 32 and 64 bit versions? I guess your kit for 32 bit version is Ok regarding the compiler/linker but you have a runtime issue

    See the 5.4.2 download page where both 32 and 64 versions of installers are available


  • Moderators

    @kuhdav Try running the binary on the command line rather than in qt creator. You may get information on what dll can't be loaded that is causing the immediate exit.

    My suspicions are the same as @Pablo-J-Rogina and you don't have the 32-bit version of Qt properly installed or used by your kit.


Log in to reply