LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-25-2008, 10:15 AM   #1
spaceballs
Member
 
Registered: Jan 2005
Location: Dallas, TX
Distribution: Slackware-current
Posts: 248

Rep: Reputation: 30
QT4 and QT3.3


I need QT4 to run Lyx, a typesetting front end.

Here is my question: I know there is a good slackbuild for qt4. Can I build qt4 and still keep the qt3.3 that is inside of Slackware by default?

If anyone else knows a good LaTEX frontend that works like Lyx that doesn't require a build like this, I am open to suggestion.
 
Old 04-25-2008, 10:52 AM   #2
indienick
Senior Member
 
Registered: Dec 2005
Location: London, ON, Canada
Distribution: Arch, Ubuntu, Slackware, OpenBSD, FreeBSD
Posts: 1,853

Rep: Reputation: 65
I tried TeXmacs once, but it kept segfaulting on load (which was more than likely a fault caused during compilation) - I'm pretty sure it's a LyX alternative for the GTK+ toolkit.

You can install Qt4, with Qt3.3 in the background, but I think you may have to do it by compiling from source unless you can tell the slackbuild to install to a directory other than the standard install directory (maybe install it to /opt).
 
Old 04-25-2008, 11:06 AM   #3
Rupa
Member
 
Registered: Apr 2008
Location: Berlin, Germany
Distribution: Slackware, Debian, NetBSD
Posts: 80

Rep: Reputation: 27
Qt4 from slackbuilds.org doesn't interfere with the pre-installed Qt3 in any way, so it is save to install.
 
Old 04-25-2008, 12:32 PM   #4
duryodhan
Senior Member
 
Registered: Oct 2006
Distribution: Slackware 12 Kernel 2.6.24 - probably upgraded by now
Posts: 1,054

Rep: Reputation: 46
yeah most packages install qt4 to /opt/qt4

although , i would recommend you get a precompiled package .. qt4 takes obscene amounts of time to compile.
 
Old 04-26-2008, 03:34 AM   #5
rg3
Member
 
Registered: Jul 2007
Distribution: Fedora
Posts: 527

Rep: Reputation: Disabled
Quote:
If anyone else knows a good LaTEX frontend that works like Lyx that doesn't require a build like this, I am open to suggestion.
I know it's not the same at all, but I've been using asciidoc (included in Slackware) for some time now. If you are only interested in writing books and articles, it's very fine and easy to use. When the output format is not HTML, the support for images is flacky, and support for mathematical formulas is almost nonexistant. But, like I said, if you need to write an essay or article or manual or something along those lines, it's amazing. You simply write the text in a .txt file using some very simple conventions, and it's able to create docbook from it. Whatever you do with the docbook output is another question. I use FOP to create a good-looking PDF files.
 
Old 04-26-2008, 08:29 AM   #6
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Rep: Reputation: 18
On my two boxes I have qt-4.3.3 compiled from source and i didn't have any problems. Make sure that when you start the configuration, you type:
Code:
 ./configure --prefix=/usr/lib/qt4.3.3
so that gmake knows where to install and to not owerwrite /usr/lib/qt.

When you comnpile your LaTex program, you must specify where qt4 is (i believe is
Code:
 ./configure --qt-dir=/usr/lib/qt4.3.3
)

The only problem when you compile qt is that it eats to much space (at the end of the compilation the qt directory with the source will have beetween 1.4 and 2 Gb). Total time of the compilation depends on your processor (on my Core2Dou E4400 @2Ghz it took beetween 30 min and 40 min). Good luck and have fun
 
Old 04-27-2008, 09:47 AM   #7
randomsel
Member
 
Registered: Oct 2006
Location: Wilmington, DE
Distribution: Slackware 11
Posts: 201

Rep: Reputation: 30
Quote:
Originally Posted by spaceballs View Post
I need QT4 to run Lyx, a typesetting front end.

Here is my question: I know there is a good slackbuild for qt4. Can I build qt4 and still keep the qt3.3 that is inside of Slackware by default?

If anyone else knows a good LaTEX frontend that works like Lyx that doesn't require a build like this, I am open to suggestion.
Slackbuild.org has slackbuilds for QT4 and Lyx that doesn't conflict with the default QT3. Very nice, use them myself.

As for an alternate LaTEX frontend, I find LyX the easiest to use without learnint LaTEX, but if you know LaTEX or are willing to learn, Kile for KDE is the best I've found. Slackbuilds.org has it too.
 
Old 04-28-2008, 08:18 AM   #8
Tux-Slack
Member
 
Registered: Nov 2006
Location: Slovenia
Distribution: Slackware 13.37
Posts: 511

Rep: Reputation: 37
Quote:
Originally Posted by duryodhan View Post
yeah most packages install qt4 to /opt/qt4

although , i would recommend you get a precompiled package .. qt4 takes obscene amounts of time to compile.
You should see it compiling on a Winblows machine. Then you would see what "obscene amounts of time" realy means.

Jokes aside.
Qt4 can coexist with Qt3, and I think I installed rlworkmans build(or it's just on his site) on a VM alongside with Qt3 and it installed into /usr/lib/qt4 but that was a long time ago, around the time when he posted the KDE4 packages here. But if you look for that thread someone posted there a different set of KDE4 packages that coexist with KDE3, meaning that the machine needs qt3 AND qt4 package, so I'm sure it's there.
 
  


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
Upgrade qt3 -> qt4. Symlinks still point to qt3 alar Linux - Software 1 06-07-2007 09:45 PM
how to upgrade from qt3 to qt4 in fc3? dr_zayus69 Linux - Software 1 07-05-2006 01:52 AM
qt3 together with qt4 marekjs Slackware 2 06-28-2006 07:16 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 10:26 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