Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Unsolved
    1. Home
    2. Tags
    3. gtk
    Log in to post

    • UNSOLVED Qt 5.8.0 - QApplication: invalid style override passed, ignoring it.
      General and Desktop • linux gtk • • Elsworth55  

      11
      0
      Votes
      11
      Posts
      28086
      Views

      [EDIT]: I found a better workaround for my own C++ code. Add one line to the main() function, like this (or use the second line with the desired style name): int main(int argc, char *argv[]) { qputenv("QT_STYLE_OVERRIDE",""); // qputenv("QT_STYLE_OVERRIDE","Fusion"); .... [OLD ANSWER]: Error message: QApplication: invalid style override passed, ignoring it. To remove this error message: In Qt Creator (ver 4.4.1) Select "Projects" (wrench icon on left edge) Under "Build & Run" (left pane) Select "Run" Under "Run Settings" (right pane) Under "Run Environment" Select "Details" (drop down list) Scroll down to "QT_STYLE_OVERRIDE" Click it to highlight it Then click "Unset" button (right side) Click "Details" to close the list Now when you run the application you shouldn't see this error message.
    • SOLVED Use GTK Theme On Linux?
      General and Desktop • linux gtk • • Elsworth55  

      12
      0
      Votes
      12
      Posts
      6174
      Views

      I'll stick with Qt 5.6.2 until 5.8 is released. Thanks a lot for all you help SGaist. I didn't have a clue what was going wrong and wouldn't have found the source of the problem with your assistance. Thanks again.
    • SOLVED Gtk-Message: Failed to load module "overlay-scrollbar"
      General and Desktop • linux error gtk • • Fidchells_Eye  

      7
      0
      Votes
      7
      Posts
      11593
      Views

      @mrjj Your welcome, it can be a pain to find answers at times, so having a guide near the IDE for odd errors helps in getting stuff done quicker for those odd errors
    • UNSOLVED Gtk-ERROR **: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported.
      Mobile and Embedded • qtcreator opencv gtk • • MarKS  

      4
      0
      Votes
      4
      Posts
      8427
      Views

      I downloaded and compiled opencv3 with gtk3 on, and then I installed Qt and had the same issue. I found a work around for this is to recompile opencv with cmake and set: WITH_GTK3=OFF. And reinstall the library. After that my Qt application work fine. Hope this helps
    • QgtkStyle error
      QtonPi • qt4 gtk • • cdbean04  

      1
      0
      Votes
      1
      Posts
      710
      Views

      No one has replied