Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.5k Topics 457.0k Posts
  • QPixmap .png in the same project directory

    4
    0 Votes
    4 Posts
    8k Views
    R
    @QPixmap* pixmap = new QPixmap("some.png");@ This is should work. Since you are not using the resource system, you must do one thing :) . Copy the image to build directory. According to "doc":http://doc.qt.nokia.com/latest/qpixmap.html#QPixmap-4 bq. If fileName contains a relative path (e.g. the filename only) the relevant file must be found relative to the runtime working directory.
  • Add more content to QMenu

    2
    0 Votes
    2 Posts
    3k Views
    S
    You can't add layouts to a QMenu, but you can add widgets containing menus to a QMenu using "QWidgetAction":http://doc.qt.nokia.com/latest/qwidgetaction.html.
  • SQL, export to word

    6
    0 Votes
    6 Posts
    4k Views
    A
    Not from the top of my head, but I know there is such a library in Calligra Suite, a branch-off of KOffice that can write .odt files. Recent versions of Word can read and write those files.
  • Multicolored text for tree/table/list items?

    5
    0 Votes
    5 Posts
    4k Views
    A
    I don't think the solution presented in that FAQ is very usable. Nice if you want to render one fixed word in a fixed color, but it does nothing to support rendering actual rich text in an item view.
  • Compiling for windows xp

    17
    0 Votes
    17 Posts
    9k Views
    G
    [quote author="kitten" date="1313915797"]my windows is 64 bit and when i compile it on release mode it doesn't run [/quote] You should also compile 32 bit for 32 bit systems. 32 bit software can run on 32 bit machines and on 64 bit machines. 64 bit software only on 64 bit machines. The second thing is, if you compile with MSVS, you must always ensure that the redistributables are correctly installed.
  • Advanced tabwidget

    2
    0 Votes
    2 Posts
    2k Views
    S
    Qt does not provide such a widget and there are no current plans of adding such a widget to Qt.
  • Adding item to toolbar context menu

    9
    0 Votes
    9 Posts
    8k Views
    S
    It is not possible to add items to the taskbar context menu using Qt.
  • Help with QNetworkConfigurationManager!

    3
    0 Votes
    3 Posts
    2k Views
    T
    dig it.
  • Parsing .mdb File in Qt4

    15
    0 Votes
    15 Posts
    11k Views
    V
    Now you got my thinkin.
  • [SOLVED] qtcpserver and qmainwindow on the constructor

    8
    0 Votes
    8 Posts
    4k Views
    K
    [quote author="Rahul Das" date="1313916068"]Kalster , you have already raised a question regarding this. Please check the work around i have posted in your other "thread":http://developer.qt.nokia.com/forums/viewthread/9006/.[/quote] Rahul Das is correct. i really do not need this topic anymore because he helped me out in the other topic. he basically solved two topics in one post.
  • [SOLVED] what signal and slot for this server?

    11
    0 Votes
    11 Posts
    4k Views
    K
    the code works excellent. thank you :)
  • [Solved] Unable to include <QtcpSocket>

    4
    0 Votes
    4 Posts
    12k Views
    J
    This was it. I knew it was something easy. Thanks! Ken
  • How to get Mouse Click event on QComboBox

    4
    0 Votes
    4 Posts
    7k Views
    A
    Well... it seems obvious to me that the events that happen for the combobox will be send to... the combobox. Not the form the combobox is on. You could install an event filter on the combobox if you want to catch its events though.
  • [Solved] QTabWidget over MenuBar

    10
    0 Votes
    10 Posts
    6k Views
    H
    Perfect, thank you everybody fr your help! Cheers huck
  • A problem whit QToolButton?

    5
    0 Votes
    5 Posts
    4k Views
    Y
    oh, I see. thank you very much. It is useful for me!
  • [solved] QTextstream problems

    12
    0 Votes
    12 Posts
    11k Views
    S
    thank you!!!! you are simply a wizard!
  • Different behaviour inside X outside MS Visual Studio IDE - possible bug?

    5
    0 Votes
    5 Posts
    3k Views
    K
    Hi Francisco if you are able to make it retraceable you shall issue a bug report on "JIRA":https://bugreports.qt.nokia.com/secure/Dashboard.jspa Even so, if it is not retraceable you might want to file a bug report. Another thing you can try is to update your Qt version. Version 4.7.3 is most recent release. There is also a list with fixed bugs. May be it has been fixed already. Have fun
  • Correct Suppression Valgrind : Fedora 14 i686

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • [SOLVED] textEdit selective text in bold

    3
    0 Votes
    3 Posts
    2k Views
    K
    yes it does. thank you
  • QProgressDialog FPE exception

    7
    0 Votes
    7 Posts
    3k Views
    L
    You're right. Although it is stated in the docs this behaviour isn't very intuitive and should be fixed somewhen.