Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Debugging with CMake projects: The application could not start because its parallel configuration is incorrect
Forum Update on Monday, May 27th 2025

Debugging with CMake projects: The application could not start because its parallel configuration is incorrect

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 160 Views
  • 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.
  • C Offline
    C Offline
    Cosmo Zhang
    wrote on 19 Oct 2023, 12:27 last edited by
    #1

    Hello,

    I'm learning to use CMake to build my Qt project. But there seems to be some problems with my toolchain. It seems that the executables built from my CMake project is broken. But for QMake projects everything goes OK.

    My environment:
    Platform: Windows 11
    Qt Creator: 9.0.2
    Qt: 5.12.8
    MSVC version: MSVC2015 64bit


    Here is how I reproduce this problem:

    Problem with cmake: In Qt Creator, create a new project with the "Qt Console Application" template. Select cmake as the build system. Then in Debug mode, build & debug the project. It fails to start the CDB with an error dialog "The CDB process has been terminated". Try to run the built executable in terminal, it complains that "The Application has failed to start because its side to side configuration is incorrect".

    qmake is OK: In Qt Creator, create a new Qt Console Application project. This time select qmake as the build system. Then in Debug mode build & debug the project. The program is built successfully and runs well. Running the built executable in terminal goes well too.

    I tried to inspect the DLL dependencies with dumpbin. And both the executables depends on these:

    Qt5Cored.dll
    VCRUNTIME140D.dll
    ucrtbased.dll
    KERNEL32.dll
    

    Can anyone help me with this problem? Thanks.

    1 Reply Last reply
    0

    1/1

    19 Oct 2023, 12:27

    • Login

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