building/deploying error



  • Hello Everyone
    I set up Qt Creator but there is a problem that I can not fix. In my first project, I receive an error message:

    Cannot find file: C:\Users\Ali İhsan\Documents\untitled3\untitled3.pro.
    12:50:02: The process "C:\Qt\5.8\mingw53_32\bin\qmake.exe" exited with code 2.
    Error while building/deploying project untitled3 (kit: Desktop Qt 5.8.0 MinGW 32bit)
    When executing step "qmake"

    https://hizliresim.com/QaD53A //compile output screenshot

    Besides, one more problem is in compiler part.
    https://i.hizliresim.com/V0oONy.jpg //tools, Qt versions screenshot
    https://i.hizliresim.com/LykM0b.jpg //tools, compilers screenshot

    These problems look like very simple. But I can not deal with them. Could you help me to fix them step by step.


  • Moderators

    @stabilizer

    Hi and welcome to devnet forum

    The problem is probably that you are using your user folder. One reason is the space character in your account name and probably also the non-standard character of teh second part.

    Try to create a folder in the root of your PC and place all projects there.
    I am using "C:/Source" for instance and life is much easier with Qt then.

    This shall solve the problem with your MinGW setup.

    In one of the screen shots you show a problem with MSVC2015 setup of Qt. Try to place/hover/click with the cursor over the exclamation sign. I believe you should get more information there.


  • Moderators

    For the MingGW package it's like @koahnig said - don't use spaces and non-ascii characters in your project paths.
    For MSVC package the problem is that it's a package for VS2015 (MSVC 14.0), but you only have VS2017 (MSVC 15.0) installed. Either install VS2015 or use Qt 5.9 RC, which provides a prebuilt package for VS2017.



  • I am grateful for your hospitality and helpfulness.
    The building/deploying error is fixed as you told. The new project path is assigned without invalid characters.

    C:\QtSource\ https://hizliresim.com/gqdJOb

    For the remainig problem I will try to set up VS2015. Thank you


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.