Results 1 to 4 of 4

Thread: Qt4.2 installation error

  1. #1
    Join Date
    Nov 2006
    Posts
    30
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Question Qt4.2 installation error

    hi,
    while running the ./configure during installation of Qt4.2 I had got "Package glib-2.0 was not found in pkg-config search path"
    Is this some error.
    I tried to run some sample program after installing.
    [nimmyj@localhost nimmyj]$ cd sample
    [nimmyj@localhost sample]$ qmake -project
    [nimmyj@localhost sample]$ qmake
    /home/nimmyj/.qmake.cache:19: Parse Error ('--cflags [-I'/usr/include']')
    [nimmyj@localhost sample]$ ./sample
    bash: ./sample: No such file or directory
    [nimmyj@localhost sample]$
    I am getting this error .can any one help.

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt4.2 installation error

    Either you configure Qt not to use the GLib event loop or you have to install the glib development packages for your distro.

  3. #3
    Join Date
    Nov 2006
    Posts
    30
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qt4.2 installation error

    hi,
    I didnt get you ,can you explain

  4. #4
    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: Qt4.2 installation error

    Qt uses GLib to provide a uniform event queue which can blend with other toolkits, but it is just an option. If you want to avoid GLib dependency, you have to turn it off by passing an appropriate switch to configure.

    Alternatively you need to install GLib development package for your distro to be able to compile GLib queue.

Similar Threads

  1. Qt-x11-commercial-src-4.2.0-snapshot-20060824 error
    By DevObject in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 23:31
  2. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  3. Problems
    By euthymos in forum Installation and Deployment
    Replies: 2
    Last Post: 13th June 2006, 19:11
  4. Fed up with M$ Window$ !!! Why is Tux leaving me alone???
    By fullmetalcoder in forum General Discussion
    Replies: 35
    Last Post: 18th March 2006, 12:57
  5. Am I the only one with "make" error ?
    By probine in forum Installation and Deployment
    Replies: 1
    Last Post: 13th February 2006, 12:54

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.