Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • QProgressDialog won't block user inputs in MainWindow before it appears

    2
    0 Votes
    2 Posts
    2k Views
    D
    IMO, you can show another Model dialog(frameless and very small) during this time.
  • BindTexture crash in release version

    2
    0 Votes
    2 Posts
    2k Views
    D
    I'm just bumping to say that I found a solution. Apparently it was glActiveTexture that caused the problem. I used GLEE instead of QGLFunctions and it started working.
  • [SOLVED] how to overlap widgets

    5
    0 Votes
    5 Posts
    29k Views
    P
    Thanks, that certainly makes life easier!
  • MacOS ODBC issue

    2
    0 Votes
    2 Posts
    2k Views
    R
    https://bugreports.qt-project.org/browse/QTBUG-25260 I have found walkaround for this issue (see bug description).
  • Qt 4.8.1 crashes on static build...

    6
    0 Votes
    6 Posts
    5k Views
    G
    You're welcome. I should try to make a gerrit change request that prints a big, fat warning that webkit is not supported once a static build is enabled :)
  • 0 Votes
    14 Posts
    7k Views
    M
    bq. Even for setting up a QSignalHandler, an array like the one constructed in this topic will be very useful :-) Indeed, but trying to do signal handling manually can be a bear. Just saying that if he needed to take that additional step, then the QSignalHandler could be a potential help.
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • Real time display of QProcess output in a textBrowser

    6
    0 Votes
    6 Posts
    6k Views
    T
    I am still not able to get the output in a textBrowser . I changed the Qprocess parameters and tried both waitForStarted() and waitForReadyRead() so that the process starts in time and the results are available. I added waitForFinished() so that the process does not terminate when it goes out of scope. @QProcess p; p.start("echo", QStringList() << "hye"); p.waitForStarted(); QByteArray byteArray = p.readAllStandardOutput(); QStringList strLines = QString(byteArray).split("\n"); QString line= p.readAllStandardOutput(); if(p.state()==QProcess::NotRunning) ui->textBrowser->append("not running"); ui->textBrowser->append(line); p.waitForFinished();@
  • Xmlpatterns in qt4.3

    7
    0 Votes
    7 Posts
    3k Views
    K
    I agree that Qt is backward compatible. But the problem that I am facing is more like forward compatibility. I have Qt 4.3 Application. I can not rebuild the application with Qt 4.6 because the deployment system will have only Qt 4.3 libraries. And migrating the deployment system can not be done because of the project nature. Now I wanted to use some functionality in 4.6 i.e. XML xpath query in the application. but compiled against 4.3. So Is it possible to make xml xpath as part of 4.3 by taking the module and associating with the 4.3 compilable application. Thank you in advance Kiran
  • Slide Down Widget Effect

    2
    0 Votes
    2 Posts
    3k Views
    A
    I think your best bet is to render the widget in an image, and do the animation with the image rather than the real widget. Then, when the animation is done, you replace the image with the real widget so the user can interact with it.
  • Using qt_example codes

    4
    0 Votes
    4 Posts
    2k Views
    P
    Ok..Thank you for your answers.
  • Image is not displaying on pushbutton

    7
    0 Votes
    7 Posts
    4k Views
    P
    Actually there is one button in ui also but i tried to put image on the button which i created through code by defining the pushbutton... I tried the one you told it worked for me...Thanks a lot
  • Trying to find POSIX calls made by Qt

    7
    0 Votes
    7 Posts
    3k Views
    J
    @ TheWorldJoker By any chance did you have any success at determining the POSIX calls? I have a similar question and need to determine which POSIX calls Qt absolutely needs to be present in an RTOS environment. Thanks.
  • Integrate C++ application in Qt application

    9
    0 Votes
    9 Posts
    5k Views
    G
    Please don't necropost. The last answer in the original thread was one year old...
  • [Solved]QGLWidget to QMainWindow

    9
    0 Votes
    9 Posts
    7k Views
    G
    After i use edit and repair code it working...so thank for find bug.
  • *[SOLVED]* Multiple signals and single slot...

    11
    0 Votes
    11 Posts
    11k Views
    M
    Be sure and edit the thread title to add [Solved]. Thanks!
  • [Solved] How to "pause" FOR loop when executing a "QPropertyAnimation"

    5
    0 Votes
    5 Posts
    4k Views
    M
    Be sure and edit the title of the thread to add [Solved]. Thanks!
  • Disable QDialogs default close button (upper left “x button”)?

    5
    0 Votes
    5 Posts
    5k Views
    S
    I am working on Linux Ubuntu 11.10 with the Unity desktop. However, the GUI Ive written wont just be used on the same Linux Ubuntu version especially the desktop is another one (I guess it is the classic Gnome desktop), but it will always be used on Linux Ubuntu.
  • QGraphicsTextItem multiple fonts

    9
    0 Votes
    9 Posts
    5k Views
    J
    you can also use qtextcharformat and merge it
  • [Solved]QTreeView based on MVC Pattern

    4
    0 Votes
    4 Posts
    2k Views
    P
    Thank you. It works now:)