Results 1 to 3 of 3

Thread: Executable file does not exist

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2014
    Location
    Korea
    Posts
    7
    Thanks
    6
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Smile Executable file does not exist

    Hi,

    I got this error while porting Qt4.8.5 to Qt 5.2 in window 7 with -mingw
    Qt Code:
    1. Executatble D:/ .... /filename.exe doesnot exist.
    To copy to clipboard, switch view to plain text mode 

    When I compile, everything just fine. No error but this one.
    However, when I check the release/debug folder, I see the .exe file but it did not named as the project name.
    When I change it to the project name, it run well @@.

    Thanks you for reading


    qt5.2Error.PNG

    PS: For porting 4.8.5 to 5.2 i just
    - .pro file: Adding
    Qt Code:
    1. CONFIG += qt
    2. QT += core gui declarative
    To copy to clipboard, switch view to plain text mode 
    - ui_ header file:
    Qt Code:
    1. replace QtGui by QtWidget
    2. remove: QApplication::UnicodeUTF8
    To copy to clipboard, switch view to plain text mode 
    Last edited by atenakid; 18th February 2014 at 07:22.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Executable file does not exist

    Did you do a complete rebuild of your project from source, using Qt5 tools, after cleaning out all the old intermediate files?

    PS: For porting 4.8.5 to 5.2 i just
    - .pro file: Adding
    CONFIG += qt
    QT += core guia
    You almost certainly need:
    Qt Code:
    1. QT += widgets
    To copy to clipboard, switch view to plain text mode 
    not "CONFIG += qt", and probably also need to define TARGET which is often missing in Qt4 PRO files. This leads me to suspect you have not done a clean rebuild of your program.

    - ui_ header file: replace QtGui by QtWidget
    remove: QApplication::UnicodeUTF8
    You should not be modifying the ui*.h files at all. These are generated from your Designer form *.ui file during build.

  3. The following user says thank you to ChrisW67 for this useful post:

    atenakid (18th February 2014)

Similar Threads

  1. Qt Creator: File Makefile doesn't exist
    By earthling in forum Qt Tools
    Replies: 6
    Last Post: 4th November 2016, 03:44
  2. Replies: 3
    Last Post: 23rd May 2013, 08:20
  3. File does not exist error with rcc.exe
    By JB_Trace in forum Newbie
    Replies: 1
    Last Post: 6th November 2012, 16:20
  4. rcc: File does not exist
    By lyuts in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2010, 08:26
  5. Replies: 1
    Last Post: 27th September 2008, 20:12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.