Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Can't run a simple 32 bit Application both in release and in debug
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 3 Posters 725 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kuhdav
    wrote on last edited by
    #1

    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?

    A 1 Reply Last reply
    0
    • Pablo J. RoginaP Offline
      Pablo J. RoginaP Offline
      Pablo J. Rogina
      wrote on last edited by
      #2

      @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

      Upvote the answer(s) that helped you solve the issue
      Use "Topic Tools" button to mark your post as Solved
      Add screenshots via postimage.org
      Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

      1 Reply Last reply
      4
      • K kuhdav

        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?

        A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        @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.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        3

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved