Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • Minimize mainwindow but keep dock window up?

    4
    0 Votes
    4 Posts
    3k Views
    C
    Hmmm, my version also does that unless I resize the content widget enough to get the title on the title bar, then I can move it. No obvious solution springs to mind. You could perhaps play with the window flags to remove the system menu etc.
  • Cannot use typeid with -fno-rtti [SOLVED]

    11
    0 Votes
    11 Posts
    11k Views
    S
    Hey fellas, Sorry i forgot to post my result here: The following solved the problem (like broadpeak said! Thank you!) In the .pro file just add the line @CONFIG += rtti@ That's it. See u guys around
  • [Solved]Paint issue in Widget

    4
    0 Votes
    4 Posts
    2k Views
    M
    No problem! Be sure and edit your first post and add [Solved] to the title. Thanks!
  • Phonon with different backend than gstreamer, playing mpeg-2 formats

    1
    0 Votes
    1 Posts
    945 Views
    No one has replied
  • Bad simulated keyboard event received in Qt application under Mac OS

    3
    0 Votes
    3 Posts
    2k Views
    D
    Indeed, it does not do the trick completely... After deep testing we found that when targeting Qt application built against Qt framework under 4.7 it does not work. Does anyone know why CGEventKeyboardSetUnicodeStringis not taken into account by Qt event monitoring loop ?
  • QGraphicsView and QGLFramebufferObject: render with alpha channel

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Phonon movie to gl texture

    1
    0 Votes
    1 Posts
    912 Views
    No one has replied
  • Testing Database with QTest

    7
    0 Votes
    7 Posts
    6k Views
    P
    Ok I got my error. I have to write @QCOMPARE(db.open(), true)@ But I still am looking forward to any suggestions that may help me to test the methoes of other subprojects in my test projects.
  • Reparenting and undo reparenting QWidget

    3
    0 Votes
    3 Posts
    2k Views
    napajejenunedk0N
    "Here":https://docs.google.com/open?id=0B2SoBuawTfgOQk04SEg3bGEzY0E's what I want to do. What is the best way to transfer the widgets parenthood between the pages? A solution could be to subclass the QWidget that represents the page and make the page reparent all shared widgets in the show event. Or another solution could be to keep track of when the QWidget's parent gets changed: @ class QWidget { ... protected: ... virtual void changeEvent(QEvent* event) { if (event->type() == QEvent::ParentChange) or if (event->type() == QEvent::ParentAboutToChange) } ... }; @ Probably the best solution is to rework the whole page's layout everytime.
  • Every Qt app in WinXP - 'blocked' input?

    6
    0 Votes
    6 Posts
    2k Views
    D
    Can you check the executable using the Dependency Walker? Maybe can show you something... I'm not sure but I don't think that can be the Video Graphics or GPU Driver... Did you check a CPU usage when you start the qt application?!
  • Coordinate transformation problem with gestures and QGraphicsObject

    1
    0 Votes
    1 Posts
    897 Views
    No one has replied
  • [SOLVED] Find the source of endless repaints?

    2
    0 Votes
    2 Posts
    950 Views
    A
    Set a breakpoint in QGraphicsItem::update() and see where it's coming from.
  • [Solved]Backgournd image with scale 9-grid

    3
    0 Votes
    3 Posts
    1k Views
    M
    Really great! Thank you for your answer
  • Qt5 - QJSEngine for module architekture, debugging

    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • [SOLVED] What version of Qt do i have?

    8
    0 Votes
    8 Posts
    19k Views
    T
    The about dialog of Qt Creator will report the Qt version used by Qt Creator. That is a different Qt version than the one used by your applications. You do not want to have your IDE stop working when you mess around with your Qt versions to make them work best for your applications, do you?
  • QGraphicsTextItem bounding rect is incorrect

    3
    0 Votes
    3 Posts
    5k Views
    T
    If you think this is a bug, then please "file a bug report":http://bugreports.qt-project.org/ . It must have taken a lot of time to get all this researched and written down, it would be a waste for this to not get the attention of the responsible developer. In the bugtracker such attention is guaranteed, here it is unfortunately not.
  • Opengl GLSL Compute Shader

    6
    0 Votes
    6 Posts
    5k Views
    Z
    The development branch for 5.1 should open up for commits very soon now. :)
  • [Solved] Know the size of the central zone?

    3
    0 Votes
    3 Posts
    1k Views
    D
    What happens is that Layouts don´t work good with OpenGL underneath. It appears black, doesn´t repaint openGL. If you remove the layout, it works, but then you have to position widgets around by hand. And if you have stylesheet assigned and round corners, the corners will be black too. A work around is to add this flag: @ widget->setAttribute( Qt::WA_TranslucentBackground ); @
  • Combined events in QT

    8
    0 Votes
    8 Posts
    3k Views
    K
    Thanks for your efforts and for the hint with the link. I was looking for something like this, just missed it. If i ever achieve something interessting, i will post it here.
  • Compilation of RInside with Qt

    2
    0 Votes
    2 Posts
    1k Views
    R
    Show some code so that we can help.