LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   QT4 and QT3.3 (https://www.linuxquestions.org/questions/slackware-14/qt4-and-qt3-3-a-637790/)

spaceballs 04-25-2008 10:15 AM

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.

indienick 04-25-2008 10:52 AM

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).

Rupa 04-25-2008 11:06 AM

Qt4 from slackbuilds.org doesn't interfere with the pre-installed Qt3 in any way, so it is save to install.

duryodhan 04-25-2008 12:32 PM

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.

rg3 04-26-2008 03:34 AM

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.

LordAnta 04-26-2008 08:29 AM

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

randomsel 04-27-2008 09:47 AM

Quote:

Originally Posted by spaceballs (Post 3132689)
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.

Tux-Slack 04-28-2008 08:18 AM

Quote:

Originally Posted by duryodhan (Post 3132809)
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.


All times are GMT -5. The time now is 07:32 PM.