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. Qt creator console project isnt worked in release mode, but worked in debug!
QtWS25 Last Chance

Qt creator console project isnt worked in release mode, but worked in debug!

Scheduled Pinned Locked Moved Unsolved General and Desktop
qt creatorrelease modekits
4 Posts 2 Posters 627 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.
  • S Offline
    S Offline
    SergeyK12
    wrote on 14 Jul 2021, 18:44 last edited by
    #1

    Hi,
    i try to run my working in the past project (several months ago) which didnt use Qt, but i like qt creator.
    But when i try to run in release - console window is opened and nothing happened (even if first row of main is Hello world!).
    I trying to commit part of the code and found that if some specific lines is commited - it worked in release (it execute at lest first row of main).
    And it always worked in Debug.
    Trying several standard kits, but they want LLVM on MSVC and it not build at all.
    So I come with manual kit which use several MSVC compilers (19 versions) and nothing changed. Release not worked.
    (New project with Qt in last month is worked with manual kit)

    In last months i update MSVC and Qt if it could be important.

    Maybe i not correct with manual settings? I only place compiler in it.

    Thanks for any advice!

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SergeyK12
      wrote on 14 Jul 2021, 19:00 last edited by
      #2

      Found MSVC plugin to translate qt projects to Visual Studio and there is no such problem. It only ugly IDE.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        SergeyK12
        wrote on 14 Jul 2021, 19:26 last edited by
        #3

        If somebody found this!
        The problem was in VCOMP140.dll (it wasnt found)!
        I dont know why it disappear or why it needed, and also why Qt creator dont tell that dll isnt found.

        But Visual Studio tell and i download it and place near exe. And everything worked!

        P 1 Reply Last reply 14 Jul 2021, 21:24
        0
        • S SergeyK12
          14 Jul 2021, 19:26

          If somebody found this!
          The problem was in VCOMP140.dll (it wasnt found)!
          I dont know why it disappear or why it needed, and also why Qt creator dont tell that dll isnt found.

          But Visual Studio tell and i download it and place near exe. And everything worked!

          P Offline
          P Offline
          Pablo J. Rogina
          wrote on 14 Jul 2021, 21:24 last edited by
          #4

          @SergeyK12 said in Qt creator console project isnt worked in release mode, but worked in debug!:

          And everything worked!

          Glad you found out. Please don't forget to mark your post as solved!

          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
          0

          4/4

          14 Jul 2021, 21:24

          • Login

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