Results 1 to 2 of 2

Thread: None Qt library managed by pro file

  1. #1
    Join Date
    Nov 2010
    Posts
    315
    Thanked 53 Times in 51 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default None Qt library managed by pro file

    Hi,

    I have some small none qt project (plugin) which should be compile with other big Qt projects.
    I wish that running qmake and make in main directory of all projects will build all projects including those which are not using qt at all.
    How to achieve this?

    I see two possible solutions:
    1. for none qt project create a pro file, which will not add any qt libraries and other dependencies and will handle creation of make file for this project.
      Is it possible?
      Is it enough to create this kind of project file?
      Qt Code:
      1. TEMPLATE = lib
      2. TARGET = myPlugin
      3. QT -= gui core
      4.  
      5. INCLUDEPATH += .\
      6. other/paths
      7. SOURCES += someSourceFile.c
      To copy to clipboard, switch view to plain text mode 
    2. Or maybe is it possible adding in parent project a custom make file.
      In this case how to do it?

  2. #2
    Join Date
    May 2008
    Posts
    155
    Thanked 15 Times in 13 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: None Qt library managed by pro file

    CONFIG -= qt instead of QT -= gui core removes even more.

Similar Threads

  1. How can size of QMainWindow's central widget be managed?
    By yogeshm02 in forum Qt Programming
    Replies: 9
    Last Post: 28th March 2014, 22:12
  2. Replies: 0
    Last Post: 12th April 2010, 08:05
  3. Replies: 4
    Last Post: 18th December 2009, 19:55
  4. managed c++
    By mickey in forum General Programming
    Replies: 9
    Last Post: 17th September 2007, 22:48
  5. Sending a shortcut to an exec managed by QProcess ?
    By Ti_Thom in forum Qt Programming
    Replies: 1
    Last Post: 10th April 2007, 18:31

Tags for this Thread

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.