"Qt" Program Installation - Continuous Project "Executable C:\Qt\Tools\.....\untitled.exe does not exist." Error !



  • 6th December 2014.

    Dear "Qt" Forum Members,

    We have just downloaded "Qt" for the very first time and have installed it using the provided "qt-opensource-windows-x86-1.6.0-6-online.exe", on to our laptop, using Windows 7 - 64 Bit Version.

    "Qt" installed correctly, with no errors !

    The installed "Qt" version as per the "About Qt Creator" tab is as follows :

    Qt Creator 3.2.2 (opensource)
    Based on Qt 5.3.2 (MSVC 2010, 32 bit)
    Built on Oct 10 2014 at 11:19:03
    From revision 34971be5cc

    Following some online "Create your first Qt Application", performed the following steps !

    On starting "Qt", for the very first time, I started a new project "Untitled", using "Qt Widgets Application", to which we simply hit "Next", Next", "Next", & "Finish", to produce the "Untitled" project !

    Following the video instructions, we then pressed the "Green Run Arrow" or (Ctrl+R) to build and run the very simple "Untitled" project !

    However instead of obtaining the expected Windows "Untitled" Form, we continuously get the following error message :

    "Executable C:\Qt\Tools\QtCreator\bin\build-untitled1-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug\debug\untitled1.exe does not exist." !

    We have unloaded and reloaded the "Qt" software using the above on line file numerous times, but without any success !

    We have tried to find a fix to the above Qt error message, on the internet, and within the Qt Forum, but without any success !

    Can anyone please indicate what we are doing wrong, and point us in the right direction to overcome this, obviously very simple run & build problem, that we are encountering ?

    With kindest regards.

    GCS Design.



  • Welcome to Qt forum

    Were there any warnings, errors during compilation ?
    "Compile ouput" panel contains full compilation log.

    Did you check if "C:\Qt\Tools\QtCreator\bin\build-untitled1-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug\debug" exists?

    When you have created a project. Could you check the projects settings (Projects button on left panel)
    There is a line "Build directory". what does it contain.



  • Hi andreyc !

    Thank you for your reply !

    Yes ! The "C:\Qt\Projects*build-untitled1-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug\debug*\” exists !

    However ! The "Executable C:\Qt\Tools\QtCreator\bin\build-untitled1-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug\debug*untitled1.exe* does not exist !

    And the "Build Directory" under the "Project" button states "C:\Qt\Projects\build-untitled-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug"

    In the meantime, I have loaded the identical "qt-opensource-windows-x86-1.6.0-6-online.exe" on another laptop, also with Windows 7 - 64 Bit, and it worked fine !

    I have noticed, that for some reason the systems are different, in regards to the "Tools - Options - Build & Run - Kit - Auto Detect", are detecting numerous other Visual Studio (MSVC) builds, etc. !

    Obviously what is needed, would be the total re-configuration of "Qt" Creator, which I thought would have occurred with the unloading and re-loading of the "Qt" Software !

    Regards GCS Design.



  • The build directory is
    @
    C:\Qt\Projects\build-untitled-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug
    @
    but an executable is expected to be in
    @
    C:\Qt\Tools\QtCreator\bin\build-untitled1-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug\debug
    @

    If you have multiple versions of Qt installed then QtCreator comes with each of them. So you need to pay attention on what QtCreator you started.
    Older versions of QtCreator may not understand new config options.


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    To add to andreyc, do you have by any chance an anti-virus running ?



  • Again ! Thank you for your reply andreyc !

    As an exercise, and for forum general information, I copied the complete "Qt" Directory from the working laptop, and copied it over my "Qt" Directory of the non-working laptop (after making the necessary backups), and it fixed the original problem of the "Qt" software giving :

    “Executable C:\Qt\Tools\QtCreator\bin\build-untitled-Desktop_Qt_Qt_Version_MSVC2012_OpenGL_32bit-Debug\debug\untitled1.exe does not exist.” error !

    The copying, fixed all of the numerous “Tools – Options – Build & Run – Kit – Auto Detect”, from being detecting, such as other Visual Studio (MSVC) builds, etc. !

    Again thank you for all of your feedback andreyc !

    Also ! Thank you SGaist !

    I have Norton's 360 running on the system, but obviously, this has had no effect on the newly copied and overwriting of the originally installed "Qt" Directory !

    Out of interest what effect could any antivirus software have on the Build & Run (Ctrl+R) function of the "Qt" Software ?

    Regards GCS Design.


  • Lifetime Qt Champion

    Some antivirus have an itchy trigger for executable files created on ones computer which generally ends in the newly created executable being put in quarantine and thus the "does not exist" error message.


Log in to reply
 

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