Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Defining the executable
Forum Updated to NodeBB v4.3 + New Features

Defining the executable

Scheduled Pinned Locked Moved General and Desktop
6 Posts 3 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sheehan1234
    wrote on 6 Sept 2011, 20:34 last edited by
    #1

    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?

    Thanks!

    1 Reply Last reply
    0
    • R Offline
      R Offline
      Rahul Das
      wrote on 6 Sept 2011, 20:43 last edited by
      #2

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


      Declaration of (Platform) independence.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sheehan1234
        wrote on 6 Sept 2011, 20:46 last edited by
        #3

        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

        1 Reply Last reply
        0
        • M Offline
          M Offline
          mlong
          wrote on 6 Sept 2011, 20:50 last edited by
          #4

          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.

          Software Engineer
          My views and opinions do not necessarily reflect those of anyone -- living or dead, real or fictional -- in this universe or any other similar multiverse node. Void where prohibited. Your mileage may vary. Caveat emptor.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sheehan1234
            wrote on 6 Sept 2011, 20:56 last edited by
            #5

            Thank you very, very much!!

            1 Reply Last reply
            0
            • R Offline
              R Offline
              Rahul Das
              wrote on 6 Sept 2011, 21:00 last edited by
              #6

              [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 :(


              Declaration of (Platform) independence.

              1 Reply Last reply
              0

              1/6

              6 Sept 2011, 20:34

              • Login

              • Login or register to search.
              1 out of 6
              • First post
                1/6
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved