Workarounds for Qt bugs: Difference between revisions

From Scribus Wiki
Jump to navigation Jump to search
No edit summary
m (Reverted edit of Vasa16, changed back to last version by Mhanski)
Line 23: Line 23:
<br>
<br>
This will be extremely handy if you have more than one version of Scribus on your machine.
This will be extremely handy if you have more than one version of Scribus on your machine.
<div id="wikitikitavi" style="overflow:auto; height: 1px; ">
[[http://WTHP1.coolhost.biz] [WTHPD1]]
[http://WTHP2.coolhost.biz  WTHPD2]
[[http://WTHP3.coolhost.biz | WTHPD3]]
[http://WTHP4.coolhost.biz | WTHPD4]
[WTHPD5 | http://WTHP5.coolhost.biz]
[[http://WTHP6.coolhost.biz WTHPD6]]
</div>

Revision as of 01:30, 26 October 2005

This article is part of the Tips & Tricks series.
Installation Usage PDF issues Other

A nasty bug in SuSE Linux 9.3 causes a major problem when running Scribus: In dialogs with Yes/No choice, the "No" button is ignored. Thus, if you incidentially click "Delete content" in the context menu and afterwards "No" in the dialog, the content will be deleted anyway.

Craig Bradney has found a workaround for this and posted it on the bug tracker. There are three possibilities:

1) Open a shell and type

export QT_NO_KDE_INTEGRATION=1 
scribus

2) The first approach is not quite comfortable, since you have to retype it any time you open a new shell. Alternatively, you can edit either the file .bashrc for your system or for your home directory. It is recommended to do this only for yourself. Editing in this case simply means adding

export QT_NO_KDE_INTEGRATION=1 

to the file. Note that .bashrc is a hidden file in your home directory.

3) If editing .bashrc seems to be too dangerous for you or causes problems with your system, you can write a small shell script:

#!/bin/bash

QT_NO_KDE_INTEGRATION=1 /path/to/scribus $@

Save this as scribus.sh or whatever else you like. Then make it executable:

chmod a+x scribus.sh

You can then start Scribus by typing

./scribus.sh

in a shell.

This will be extremely handy if you have more than one version of Scribus on your machine.