LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-09-2010, 04:25 PM   #1
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Rep: Reputation: 96
QT4.7


Has anyone here tried building QT 4.7 on 13.1 or -current?
 
Old 11-09-2010, 04:47 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Not me

But if I wanted to give it a try, I would try to re-use the Slackbuild shipped in the source directory of the distribution, after having checked if there are new configure options.
 
Old 11-09-2010, 06:06 PM   #3
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Yep. Initially had problems with PyQt and KDE (bindings), but all was sorted. No other major issues. 4.7.1 is out.
 
Old 11-09-2010, 06:37 PM   #4
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Quote:
Originally Posted by BrZ View Post
Yep. Initially had problems with PyQt and KDE (bindings), but all was sorted. No other major issues. 4.7.1 is out.

Did you use the existing Slackbuild, or did you do it from scratch?
 
Old 11-09-2010, 06:48 PM   #5
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Used the existing SlackBuild.

ps: Seems CVE-2010-1822 (crash-svg-image) wasn't fixed on 4.7.1. (I'm supposing as the patch was applied without warning. You'll need to research)

Last edited by BrZ; 11-09-2010 at 06:54 PM.
 
Old 11-09-2010, 07:22 PM   #6
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Could you give me a run-down of the probs you had and how hard they were to correct?
 
Old 11-10-2010, 03:14 AM   #7
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
Basically patience =]

They don't built. It was with KDE 4.5.2, PyQt 4.7.7 and Qt 7.0. Kdebindings refused to compile smoke and PyQt errors with "qgl.h"(?).

A couple of days and I found a patch to PyQt. Some commits released at kdebindings snv made KDE happy again.

Slackware is a dream to play around like this. KDE 4.5.3 (alien's scripts) had no errors with Qt 7.0 and PyQt 4.8.1. Today Qt 7.1 built fine.
 
Old 11-10-2010, 05:19 AM   #8
Martinezio
Member
 
Registered: May 2009
Location: Warsaw, Poland
Distribution: Slackware64-current
Posts: 191

Rep: Reputation: 32
Quote:
Originally Posted by BrZ View Post
Basically patience =]

They don't built. It was with KDE 4.5.2, PyQt 4.7.7 and Qt 7.0. Kdebindings refused to compile smoke and PyQt errors with "qgl.h"(?).
Do You enable OpenGL support in QT? ('-graphicssystem opengl -opengl' configure script options)
Note, that OpenGL support for QT 4.7.x is in development stage and default graphicssystem is software renderer, so qgl.h isn't installed.
 
Old 11-10-2010, 07:50 AM   #9
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
So I need to upgrade pyqt as well?

The whole point of this exercise, by the way, is to get kwebkit working better.
 
Old 11-10-2010, 11:52 AM   #10
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
@Martinezio,
Yes, enabled as Glib support, just to see what happens and how the pieces came together. GTK 2.22.2 and Glib 2.26.0. Build Qt 7.1 again with OpenGL and Glib support. Another packages rebuilt on the way, but with little deviance. It's purely for fun. My workstation rides with -current32 (Robby's xorg) and is very, very solid. No complain about Slack current state.

@2handband,
I was trying to use Scribus to play with Google Docs trough PyQt as wrapper. KDE seems to use (need) PyQt, so why not made both happy with new bugs =]
 
Old 11-10-2010, 12:18 PM   #11
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Okay, I stuck the new source code in the qt directory. What's the command to execute the slackbuild?
 
Old 11-10-2010, 01:52 PM   #12
BrZ
Member
 
Registered: Apr 2009
Distribution: Slackware
Posts: 543

Rep: Reputation: 121Reputation: 121
../Slackware/slackware64-current/source/l/qt

Copy to another place (tmp or src) and fire up qt.SlackBuild. I'll build it again without OpenGL support and patches to keep around and reinstall by the weekend.
 
Old 11-10-2010, 02:24 PM   #13
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
That's odd... running qt.Slackbuild does nothing... no error messages, but no action either. It just returns me tho the command prompt.
 
Old 11-10-2010, 02:26 PM   #14
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
You might examine the slackbuild script for a line somewhere near the beginning like:
Code:
set -e
and if it is there, temporarily comment it out, save the file and try running it again.
 
Old 11-10-2010, 02:59 PM   #15
2handband
Member
 
Registered: Jan 2009
Location: Alexandria, Minnesota
Distribution: Manjaro
Posts: 837

Original Poster
Rep: Reputation: 96
Thanks, but no such line.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
QT4 in xubuntu blackcore Linux - Software 1 07-13-2010 09:46 AM
VLC 0.97 with Qt4 Raynus Linux - Software 16 12-04-2008 11:20 AM
Qt4 STARHARVEST Slackware 7 10-08-2008 08:56 AM
Compiling qt4 apps for non-qt4 linux, win, mac birdseye Programming 4 10-31-2005 04:45 AM
qt3 or qt4 crAckZ Programming 1 09-06-2005 05:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration