Results 1 to 3 of 3

Thread: Merge diferent projects in a single one

  1. #1
    Join Date
    Oct 2012
    Posts
    16
    Thanks
    9
    Platforms
    Windows

    Default Merge diferent projects in a single one

    Hi
    Let's say i have n widgets (W1, W2, W3, ..., Wn), each of them created using Qt Designer using "Qt Widget Project" > "Qt Gui Application".
    In this case, for each project i have the files:
    1. w1.pro
    2. main.cpp
    3. w1.h
    4. w1.cpp
    5. w1.ui
    6. ...


    Imagine that later i start a new applications and whant to use this widgets. I wish to keep each one of them in a separate folder, inside the main folder.
    Whats the correct approach?
    Thanks

  2. #2
    Join Date
    May 2008
    Location
    Tripoli Libya
    Posts
    70
    Thanks
    10
    Thanked 8 Times in 8 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Merge diferent projects in a single one

    take a look at examples\dialogs pro file and pro file in sub dirs

  3. #3
    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: Merge diferent projects in a single one

    Or use *.pri file which you can include in your new project.

Similar Threads

  1. Inheriting from QCompleter or something diferent
    By been_1990 in forum Qt Programming
    Replies: 1
    Last Post: 28th December 2012, 23:16
  2. Add item to diferent listbox on loop
    By ShapeShiftme in forum Qt Programming
    Replies: 3
    Last Post: 21st May 2012, 17:17
  3. Replies: 2
    Last Post: 7th September 2010, 22:19
  4. Replies: 2
    Last Post: 24th March 2010, 11:31
  5. how to merge QPixmaps
    By tommy in forum Qt Programming
    Replies: 2
    Last Post: 27th March 2008, 13:02

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.