Results 1 to 7 of 7

Thread: Could not find executable

  1. #1
    Join Date
    Aug 2012
    Posts
    30
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Could not find executable

    Hi I just created an custom qml extension plugin on QtCreator (Windows). When I run this empty project a window opens and says that "Could not find executable please specify one" What shall I do I looked into every file in my project file but there is no .exe file? Can you help me plese?

  2. #2
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Could not find executable

    Of course there is no executable. Since a plugin is shared library.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  3. #3
    Join Date
    Aug 2012
    Posts
    30
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Could not find executable

    Ok, so how am I suppose to continue? insert my qml files and their header files and then just press CTRL+R?

  4. #4
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Could not find executable

    Have you read this, this and this?
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  5. #5
    Join Date
    Aug 2012
    Posts
    30
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Could not find executable

    Yes I know about these things. But I want to do something like the minehunt example. So I am trying to go over that. It has a main.cpp file that is why I am confused about extensions. That is the only one that uses QML Plugins and have a main.cpp file..

  6. #6
    Join Date
    Aug 2008
    Location
    Ukraine, Krivoy Rog
    Posts
    1,963
    Thanked 370 Times in 336 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Could not find executable

    Where did you find "minehunt"? Where is a link?

    EDIT: Got it.
    The minehut doesn't use plugin extension, but it uses custom C++ classes.
    So, you should decide what you need: QML Application or QML Plugin.
    Last edited by spirit; 31st August 2012 at 14:46.
    Qt Assistant -- rocks!
    please, use tags [CODE] & [/CODE].

  7. #7
    Join Date
    Aug 2012
    Posts
    30
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Could not find executable

    I need QML Plugin so I think I should continue with your example. Thank you very much for your help

Similar Threads

  1. Replies: 1
    Last Post: 28th May 2012, 15:06
  2. QT + SQL + executable
    By anouar2002 in forum Newbie
    Replies: 1
    Last Post: 22nd January 2012, 22:56
  3. Help in the executable
    By mukunda in forum Qt Programming
    Replies: 6
    Last Post: 5th July 2011, 07:59
  4. Replies: 1
    Last Post: 1st September 2010, 20:18
  5. Icon for executable
    By schan117 in forum Qt Programming
    Replies: 1
    Last Post: 22nd September 2009, 16:58

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.