How to prevent Qt from showing KDE dialogs and icons?
-
I run pure Qt4 application, but in the presence of kde4 libraries it displays kde4 icons and file dialogs. Something isn't quite right with them and I want to see how this qt4 app works without kde4 integration.
How can I disable kde4 dialog boxes and icons in qt4 app without recompiling it and without uninstalling kde?
For example, QFileDialog::getOpenFileNames calls KFileDialogQtOverride::getOpenFileNames, this is what I want to prevent.
-
I use this simple bash script to test my Qt apps under KDE.
@#!/bin/sh
export PATH="$PWD"
export QTDIR=""
export LD_LIBRARY_PATH="/path/to/your/qt/lib/dir"
export QT_PLUGIN_PATH=""
export KDEDIRS=""
export KDEDIR=""./yourapp $@
@