Results 1 to 2 of 2

Thread: PRI and PRO and multiple applications

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2010
    Location
    Heredia, Costa Rica
    Posts
    257
    Thanks
    24
    Thanked 17 Times in 14 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default PRI and PRO and multiple applications

    Hi,

    I am programming a series of command line small applications that share some common code.

    How can I generate a .pro (or .pri) so the qmake makes makeFiles for all of them and then builds all the applications?

    Thanks,
    Carlos.

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: PRI and PRO and multiple applications

    Quote Originally Posted by qlands View Post
    I am programming a series of command line small applications that share some common code.
    Then create a library for that which you bind in your other applications.
    How can I generate a .pro (or .pri) so the qmake makes makeFiles for all of them and then builds all the applications?
    See the SUBDIRS variable or include() in the qmake documentation.

Similar Threads

  1. Replies: 2
    Last Post: 19th October 2011, 09:30
  2. Replies: 1
    Last Post: 17th May 2011, 16:12
  3. Replies: 2
    Last Post: 3rd June 2010, 14:38
  4. Distributing multiple Qt applications?
    By gfunk in forum Qt Programming
    Replies: 5
    Last Post: 23rd August 2007, 17:41
  5. Replies: 0
    Last Post: 21st December 2006, 11:48

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.