Results 1 to 2 of 2

Thread: Lib and app together in same project

  1. #1
    Join Date
    Sep 2010
    Posts
    46
    Thanks
    3
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Exclamation Lib and app together in same project

    Hi there,

    I made a qml plugin, it's a subproject (.pri). I wanna use that in a Qt Quick application if i simply add into include(xxxplugin/xxxplugin.pri) qmlpro.pro file, It's showing itself like a subproject. If i rebuild project, There is no executable file, just compiling .dll file and qt creator is looking for xxxplugin.EXE ?_? but there is xxxplugin.dll exist, then i'm removing that subproject from .pro file , building again there is creating a new qmlpro.EXE so executable file created and runs perfectly but i can't use booth executable project and a library project at the same time, is there any solution about that ?

  2. The following user says thank you to nightroad for this useful post:

    cuteatul (7th July 2011)

  3. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Lib and app together in same project

    Put the lib in one directory with its pro file, the app in another, and use the subdirs template in the PRO file in the directory above to build both.

  4. The following user says thank you to ChrisW67 for this useful post:

    nightroad (12th July 2011)

Similar Threads

  1. How to convert QT Project to CMake project?
    By Kevin Hoang in forum Qt Programming
    Replies: 2
    Last Post: 29th March 2011, 09:48
  2. Qt project management - bigger project
    By Peppy in forum Qt Programming
    Replies: 11
    Last Post: 24th December 2010, 13:50
  3. new project
    By rk0747 in forum Qt Programming
    Replies: 5
    Last Post: 17th February 2010, 08:53
  4. Replies: 1
    Last Post: 3rd December 2009, 23:34
  5. Project generation on linux from QT Project
    By darpan in forum Qt Programming
    Replies: 6
    Last Post: 11th December 2006, 09: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.