Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • [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.
  • Building Qt5

    2
    0 Votes
    2 Posts
    2k Views
    S
    At a guess i would say you should try to updat your direct x version
  • 0 Votes
    3 Posts
    1k Views
    C
    Well, you can do a hack: create very simple plug-in in 64 bits which call an 32 bits application. You will need to use one of the "Inter-Process Communication":http://doc.qt.digia.com/latest/ipc.html method. 32 bits application will read and write a specific file format.
  • Add helpme/ini/documents files to Qt project

    3
    0 Votes
    3 Posts
    2k Views
    C
    Yip .. thanks
  • Problem with SSL handshaking between browser and my HTTPS ProxyServer

    1
    0 Votes
    1 Posts
    5k Views
    No one has replied
  • Adding a shadow to the MainWindow

    5
    0 Votes
    5 Posts
    10k Views
    A
    Hey guys, I managed to get what i wanted but without the Frame all the resizing, close, minimize and maximize is gone. So I implemented that but when I maximize it takes up the hole screen including the windows task bar. That is not quite how the maximize should work. It should maximize like any standard window. Any ideas on how to do this? Or, is it possible to style the window frame directly with qt? So i don't have to use the FramelessWindowHint. Thank you in advance
  • 0 Votes
    2 Posts
    3k Views
    B
    You can't do like this. You have to understand that signals are emitted ONLY after your function ends. Because event loop processing starts ONLY after your function ends. Look: @ request.setRawHeader("Accept-Language", "en-us,en;q=0.5"); request.setRawHeader("Connection", "Keep-Alive"); reply = m_networkManager->get(request); // Before you exit this method, you don't get any slots triggered from another thread. @ You are doing it wrong with QEventLoop. It won't work! If you want blocking wait, you should do something like this: @ request.setRawHeader("Accept", "text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8"); request.setRawHeader("Accept-Language", "en-us,en;q=0.5"); request.setRawHeader("Connection", "Keep-Alive"); reply = m_networkManager->get(request); if(reply->waitForReadyRead(-1)) { qDebug("It works!"); QByteArray data = reply->readAll(); QString rep(data); return rep; } else { qDebug("There must be an error"); return reply->errorString(); } @
  • Remote Database Connection

    2
    0 Votes
    2 Posts
    1k Views
    mrdebugM
    I think you have 2 ways for to do this. A first way: connecting directly to the database and use stored procedures. A second way (that I use often), write a http daemon to run in the server side that is connected to the database. The clients use http - xml requests to get information from the server.
  • Qt mobility on windows 7 desktop application

    2
    0 Votes
    2 Posts
    2k Views
    C
    Ok so I found out. For those who want to know, you first have to understand that qt mobility for desktop is not part of the QtSDK. There is only qt mobility for symbian. So you need to get the source code and compile it. Since digia got Qt a fews days ago the mobility source download link wasn't working so I got it from git. You can do it from a git bash (download msysgit for instance). @cd /c/QtSDK git clone git://gitorious.org/qt-mobility/qt-mobility.git@ Now you will have to compile it. Here are some instructions: http://doc.qt.digia.com/qtmobility/installation.html http://www.developer.nokia.com/Community/Wiki/Installing_Qt_Mobility_in_Qt_SDK_on_Windows_(former_Qt_desktop_SDK) I installed the mobility QMultimediaKit module dependencies and then from a windows bash (or qt bash), I did the compiling instructions. @cd <your qt mobility source folder> configure -prefix %QTDIR% mingw32-make mingw32-make install@ But I got some mistakes so I only compiled QMultimediaKit, the only one I need: @configure -prefix C:\QtSDK\Desktop\Qt\4.7.4\mingw -modules multimedia@ Finaly it worked and I can use qt mobility multimedia in a project. It doesn't work very well thought...in comparison to under linux. I can't snap pictures or register videos. And my webcam view size is increasing automatically. But a least I can see my webcam input.
  • [Solved] Overlapping Widgets input problems

    2
    0 Votes
    2 Posts
    3k Views
    V
    Well, this is probably far too late to help Luca, but for any others looking for the "right" answer (like me :-) you should probably assign a Mask to your Widget. See this "blog post":http://blog.qt.digia.com/blog/2006/05/27/mouse-event-propagation/ and the QWidget::setMask documentation.
  • 0 Votes
    1 Posts
    2k Views
    No one has replied
  • QODBC driver not loaded

    32
    0 Votes
    32 Posts
    21k Views
    H
    For the moment I am running out of ideas, sorry.
  • Ways of permanent structured storage methods

    3
    0 Votes
    3 Posts
    1k Views
    D
    thanks al, i am using xml using qtxml @muhamedAudo i already have that pdf but still thanks i got some other thing in that pdf that made the think worked