Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to prevent Qt from showing KDE dialogs and icons?

How to prevent Qt from showing KDE dialogs and icons?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 1.9k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jerrry94087
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • A Offline
      A Offline
      AcerExtensa
      wrote on last edited by
      #2

      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 $@
      @

      God is Real unless explicitly declared as Integer.

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved