Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    General and Desktop
    qt creator release mode kits
    2
    4
    301
    Loading More Posts
    • 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
      SergeyK12 last edited by

      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 Reply Quote 0
      • S
        SergeyK12 last edited by

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

        1 Reply Last reply Reply Quote 0
        • S
          SergeyK12 last edited by

          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!

          Pablo J. Rogina 1 Reply Last reply Reply Quote 0
          • Pablo J. Rogina
            Pablo J. Rogina @SergeyK12 last edited by

            @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 Reply Quote 0
            • First post
              Last post