Results 1 to 3 of 3

Thread: Compiling a project

  1. #1
    Join Date
    Feb 2008
    Posts
    102
    Thanks
    3
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Compiling a project

    When i compile a project (either on Linux and on Windows) i use to give this command:

    qmake && make

    How can i compile my project, having at the end, only my executable, without any moc and object(*.o) file?????

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Compiling a project

    You mean something like
    Qt Code:
    1. make clean
    To copy to clipboard, switch view to plain text mode 
    destination dir or an install target? You can also have separate directories for all the intermediate files, just take a closer look at available qmake variables.
    J-P Nurmi

  3. #3
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Compiling a project

    Have you ever done

    qmake -project

    ?
    I'm a rebel in the S.D.G.

Similar Threads

  1. Replies: 1
    Last Post: 15th June 2008, 17:42
  2. Compiling a Qt project in Mac
    By sunil.thaha in forum Newbie
    Replies: 5
    Last Post: 31st October 2007, 06:20
  3. Replies: 3
    Last Post: 18th April 2007, 15:31
  4. Compiling Linux project on Mac
    By December in forum Newbie
    Replies: 2
    Last Post: 25th March 2007, 04:25
  5. compiling a qt project under win32
    By elcuco in forum Qt Programming
    Replies: 2
    Last Post: 19th January 2006, 07:43

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.