Defining the executable

  • My very simple program won't run because it cant find the executable. I'm supposed to browse the file trees to find it, but I don't know where to look or what I'm looking for.

    Can someone please help?


  • What exactly are you trying to do ?
    Are you using the Qt Creator ?

  • I am using the new Qt Creator; 4.7.4 I believe. And all I'm trying to do is get a simple c++ program(a main() with a print statement) to compile and run. I started this new project through "Other project> C++ library". It does compile properly but when I run it, a window pops up asking me to locate the executable

  • Moderators

    If you're building a C++ library, there won't be an executable -- it's a library. You probably want a Other Project->Qt Console Application.

  • Thank you very, very much!!

  • [quote author="sheehan1234" date="1315342002"] I started this new project through "Other project> C++ library". [/quote]

    So you are creating a library ,this way .

    Why dont you start with a console applicaiton ?

    EDIT : oops, bit late :( Didnt refresh the window for a while :(

Log in to reply

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