Results 1 to 7 of 7

Thread: how to configure only some few parts of the Qt?

  1. #1
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default how to configure only some few parts of the Qt?

    I want to apply configure.exe on only some few directories of the Qt source tree, not the entire Qt.
    how to do that?

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to configure only some few parts of the Qt?

    Short answer is "you can't". Longer answer is "Why do you want to do that?".
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  3. #3
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to configure only some few parts of the Qt?

    You can't. What you CAN do is configure the entire tree and only build certain modules (say, QtCore and QtGUI, the most common ones) by running make in those directories.

  4. #4
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Lightbulb Re: how to configure only some few parts of the Qt?

    Short answer is "you can't". Longer answer is "Why do you want to do that?".
    it's a question, not an answer!!
    anyway you can see I have made a new version of the phonon4qtmingw magical package (you know, it is for building phonon with mingw).
    new version is now ultra fast because I replaced the use of Qt-wide configure operation with manipulating some related .pro files temporarily.
    in the new method of adding phonon support to mingw version of Qt, mingw32-make is run only in phonon related directories; and then configure was alone the most time consuming part of the build process. it took 40 minutes on my machine while remainder of the operations took about 12 minutes. I could eliminate the configure step entirely and save a considerable time (a qmake step is added instead but it doesn't spend significant time).

    but my method of manipulating .pro files (and some other action) is not standard and is empirical, so I wanted to replace a possibly optimized configure in place of it. I don't need to configure the whole Qt for building phonon, just few phonon related sub-directories.
    Last edited by FS Lover; 29th November 2009 at 15:59.

  5. #5
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to configure only some few parts of the Qt?

    Quote Originally Posted by FS Lover View Post
    it's a question, not an answer!!
    It's a figure of speech.

    anyway you can see I have made a new version of the phonon4qtmingw magical package (you know, it is for building phonon with mingw).
    Your package will become obsolete in one week, as far as I know.

    but my method of manipulating .pro files (and some other action) is not standard and is empirical, so I wanted to replace a possibly optimized configure in place of it. I don't need to configure the whole Qt for building phonon, just few phonon related sub-directories.
    Running configure and building Qt are two separate things. You can run configure as usual and then only build this part of Qt you are interested in, just like fatjuicymole said.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  6. #6
    Join Date
    May 2009
    Posts
    147
    Thanks
    11
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: how to configure only some few parts of the Qt?

    Your package will become obsolete in one week, as far as I know.
    why?

    Running configure and building Qt are two separate things.You can run configure as usual and then only build this part of Qt you are interested in, just like fatjuicymole said.
    it's "running configure as usual" that takes much more time than "only building that part of Qt I'm interested in".
    if my program can do it's work in 12 minutes, it's very better than 12+40 minutes.
    or even 6 minutes is considerably better than 6+20 minutes.
    also saving substantial time and energy for me while developing and testing phonon4qtmingw is a considerable advantage.

  7. #7
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: how to configure only some few parts of the Qt?

    Quote Originally Posted by FS Lover View Post
    why?
    Qt 4.6 is due to be released. And from what I know the bundle is going to include a recent version of MinGW which doesn't have problems with phonon.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. How to configure Qt to work with MinGW-64?
    By Skywalker in forum Installation and Deployment
    Replies: 17
    Last Post: 23rd October 2010, 20:45
  2. QT4 for kde 4 beta 2 configure problem: make not found
    By marcomangiante in forum Installation and Deployment
    Replies: 1
    Last Post: 5th September 2007, 20:35
  3. how can i configure shell files
    By harijibhv in forum General Programming
    Replies: 1
    Last Post: 22nd July 2007, 20:31
  4. Qt 4.2.3 Configure Issue...
    By amcdaniel in forum Installation and Deployment
    Replies: 4
    Last Post: 13th May 2007, 12:02
  5. Can't configure for Win32 MSVC .NET
    By saber850 in forum Installation and Deployment
    Replies: 8
    Last Post: 28th February 2006, 16:42

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.