Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • [Solved] Simplest Vertex/Fragment Shaders using QGLWidget Derivation

    29
    0 Votes
    29 Posts
    27k Views
    N
    moved to new "thread":http://developer.qt.nokia.com/forums/viewthread/11031/
  • QPushButton down signal

    12
    0 Votes
    12 Posts
    10k Views
    M
    Thank you! Works like a charm ;)
  • QPushButton Overlay Color

    5
    0 Votes
    5 Posts
    4k Views
    A
    Doh, you are right of course. Then again, I would not draw the rectangle over the whole button, normally. But indeed, my version too will yield the same result at lower performance than yours.
  • [SOLVED] Optimized compiling with Qt

    5
    0 Votes
    5 Posts
    16k Views
    S
    I recompiled Qt and OpenCV with -O3 flags (takes 9 hours) and then recompile my program with -O3 flag too. I can't believe the results! There was only 8 frames per second with normal configuration.... Now it's 38 frames per second :) This is my qmake.conf: @ qmake configuration for linux-g++ Written for GNU/Linux platforms that have both lib and lib64 directories, like the AMD Opteron. MAKEFILE_GENERATOR = UNIX TARGET_PLATFORM = unix TEMPLATE = app CONFIG += qt warn_on release incremental link_prl QT += core gui QMAKE_INCREMENTAL_STYLE = sublib QMAKE_CFLAGS -= -O2 QMAKE_CFLAGS -= -O1 QMAKE_CXXFLAGS -= -O2 QMAKE_CXXFLAGS -= -O1 QMAKE_CFLAGS = -m64 -O3 QMAKE_LFLAGS = -m64 -O3 QMAKE_CXXFLAGS = -m64 -O3 include(../common/g++.conf) include(../common/linux.conf) QMAKE_LIBDIR_X11 = /usr/X11R6/lib64 QMAKE_LIBDIR_OPENGL = /usr/X11R6/lib64 load(qt_config) @ God bless gcc ;)
  • QThread (occasionally) won't start

    10
    0 Votes
    10 Posts
    5k Views
    F
    [quote author="leonidwang" date="1319600202"] But that's some problem out of Qt's scope. [/quote] Of course, but it is in the scope of your application. I was just suggesting you to investigate more...
  • 0 Votes
    4 Posts
    5k Views
    P
    I have tried this it is working. @label->setText("<html> <a style = 'text-decoration:none'href ='link'>Sign In</a></html>");@
  • 0 Votes
    3 Posts
    3k Views
    R
    I got it =) I forgot setting the "container" (which holds the layout) QGraphicsWidget's geometry ... SOLVED
  • [SOLVED] How to set the QDir to current open file ?

    2
    0 Votes
    2 Posts
    3k Views
    T
    "QDir::cd()":http://doc.qt.nokia.com/stable/qdir.html#cd
  • Expanding issue, QScrollArea

    2
    0 Votes
    2 Posts
    5k Views
    R
    @scroll->setWidgetResizable(true);@
  • Dynamic text sizing and alignment based on screen resolution

    3
    0 Votes
    3 Posts
    3k Views
    J
    That's fantastic, thank you! I had completely missed the QFontMetrics class.
  • [Solved] Connecting a QPushButton and a function

    5
    0 Votes
    5 Posts
    19k Views
    E
    Thanks - that did it. I guess the buttons that are placed on Designer UI forms are automatically connected to the on_buttonname_clicked functions, but creating your own functions in that format creates some confusion.
  • Qt Mac QFileSystemWatcher

    4
    0 Votes
    4 Posts
    3k Views
    H
    Hi, File a bug on bugs.pyside.org, it's the better way to have feedback about strange PySIde behaviors.
  • Writing static method returning an input from the user [solved]

    3
    0 Votes
    3 Posts
    2k Views
    A
    Hello ! I struggled a little bit to understand how a QDialog works, but I have managed finally to do it. Thanks for the help !
  • Alternating row colors in mac and linux

    3
    0 Votes
    3 Posts
    4k Views
    M
    I have had the same problem(?), with GTK and Qt. The reason for this behavior is the theme the computer is using - it may not have alternate colors for rows, even if you request it. This is the case at least with Linux Mint I use, no program has alternating row colors in their list boxes. So, basically, you should do nothing, as it is generally good to obey user's settings. If you want them visible, you should change your personal desktop settings.
  • QSystemTrayIcon and shortcuts on OSX

    4
    0 Votes
    4 Posts
    3k Views
    G
    Thanks. Asking here beforehand is never a bad idea. Chances are good that someone has a solution or knows the ID of an already opened issue.
  • Qt Assistant focus problem

    2
    0 Votes
    2 Posts
    2k Views
    V
    It seems that problem occurs on twm and xfce, KDE don't change focus. So it's solved in a way.
  • [Solved]StyleSheet and blink

    2
    0 Votes
    2 Posts
    2k Views
    G
    This is not possile with style sheets. style sheets can adress widgets, but not cells / rows / columns in a view.
  • QNetworkAccessManager doesn't download whole web page

    9
    0 Votes
    9 Posts
    8k Views
    D
    What's the point of necroposting? Please, start a brand new thread with all the relevant information.
  • QTableWidgetItem objects deletion

    2
    0 Votes
    2 Posts
    2k Views
    H
    If you check the "source of QTableWidgetItem":http://qt.gitorious.org/qt/qt/blobs/4.7/src/gui/itemviews/qtablewidget.cpp you can find it out easily (setRowCount calls removeRows, which deletes the item).
  • [Solved]Rowcount Tableview

    4
    0 Votes
    4 Posts
    7k Views
    T
    Thank you Worked perfectly