Results 1 to 2 of 2

Thread: RTQI : Run-Time Qt Informations ?

  1. #1
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default RTQI : Run-Time Qt Informations ?

    I'm wondering if there's a way to know informations on Qt libraries on run-time...
    I know that the class QLibraryInfo provides some basic info but they are too *basic*...

    As an examples how can I know if the available libs are a commercial or an open source edition ?
    Current Qt projects : QCodeEdit, RotiDeCode

  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: RTQI : Run-Time Qt Informations ?

    Quote Originally Posted by fullmetalcoder
    I'm wondering if there's a way to know informations on Qt libraries on run-time...
    I know that the class QLibraryInfo provides some basic info but they are too *basic*...
    Are they?

    As an examples how can I know if the available libs are a commercial or an open source edition ?
    Qt Code:
    1. #include <QLibraryInfo>
    2.  
    3. int main(){
    4. qDebug(qPrintable(QLibraryInfo::licensee()));
    5. qDebug(qPrintable(QLibraryInfo::licensedProducts()));
    6. qDebug(qPrintable(QLibraryInfo::buildKey()));
    7. return 0;
    8. }
    To copy to clipboard, switch view to plain text mode 
    In my case gives:
    Open Source
    OpenSource
    i686 Linux g++-4 full-config

Similar Threads

  1. QTextEdit loading takes long time
    By sreedhar in forum Qt Programming
    Replies: 12
    Last Post: 21st March 2011, 10:29
  2. Replies: 6
    Last Post: 17th March 2006, 17:48
  3. Compiling time changes, and how!
    By GreyGeek in forum Qt Programming
    Replies: 2
    Last Post: 2nd February 2006, 13:19
  4. Problem with pointers while using localtime() and time()
    By jamadagni in forum General Programming
    Replies: 7
    Last Post: 11th January 2006, 15: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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.