Results 1 to 8 of 8

Thread: Qt installation

  1. #1
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qt installation

    Dear all,

    can any one please tell me, should the Qt is installation in Linux needs X11?

    Thanks in advance.

    I am using Slackware linux and Qt4.3.0(open source).

    Regards,
    Jay.

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation

    It's called Qt4/X11 - so yes. But QtCore, xml and network don't need X11.

  3. #3
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation

    Thank you for your reply.

    I need to use QtGui classes like QImage in my application.
    up to my knowledge, this is not possible when using QtCore.

    please suggest any other way to do.

  4. #4
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation

    What should I suggest?
    Do you have X11 installed but you'll create a console-only app or don't you have X11 installed? If it's installed you can also use some of the QtGui-classes without the need for a QApplication. If X11 is not installed you can't compile and use QtGui.

  5. #5
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation

    X11 is installed in my system. I am running a sample which uses QApplication and QImage without startiing X.

    so in deployment do I need to distribute X11 libraries also(if the target system doesn't contain X11)?

  6. #6
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation

    I answered this already... QtGui depends on X11 so you'll likely need X11 libs.

  7. #7
    Join Date
    Feb 2008
    Posts
    60
    Thanks
    9
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt installation

    Thank you so much for your patient hearing.

  8. #8
    Join Date
    May 2008
    Location
    Kyiv, Ukraine
    Posts
    418
    Thanks
    1
    Thanked 29 Times in 27 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt installation

    Quote Originally Posted by jay View Post
    X11 is installed in my system. I am running a sample which uses QApplication and QImage without startiing X.

    so in deployment do I need to distribute X11 libraries also(if the target system doesn't contain X11)?
    What is the purpose/reason in developing a GUI application for a system without GUI support?(even with supplying all the necessary X11 libs)

Similar Threads

  1. Moving my installation to another machine
    By MrGarbage in forum Installation and Deployment
    Replies: 3
    Last Post: 2nd February 2008, 22:32
  2. Unsolved ubuntu installation of qt problem
    By sincnarf in forum Installation and Deployment
    Replies: 1
    Last Post: 30th September 2007, 10:41
  3. painter problem in new Qt-4.2.3 installation
    By impeteperry in forum Installation and Deployment
    Replies: 2
    Last Post: 2nd May 2007, 06:34
  4. Qt4.2 installation error
    By nimmyj in forum Installation and Deployment
    Replies: 3
    Last Post: 15th December 2006, 15:19
  5. do Qt4 installation depends on gcc version
    By quickNitin in forum Installation and Deployment
    Replies: 3
    Last Post: 3rd October 2006, 07:14

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.