Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • Database Suggest with Qt Framework

    Solved
    8
    0 Votes
    8 Posts
    2k Views
    CatarinoC
    Qt opensource can connect to any SQL server, even without having the specific driver using the ODBC driver.
  • QProcess can launch programs but not python (command line)

    Solved
    9
    0 Votes
    9 Posts
    3k Views
    jsulmJ
    @jonasqt said in QProcess can launch programs but not python (command line): is it wrong to expect the command line to actually open as a window Yes, it is. Command line tools do not have any windows - they run in a shell/terminal (terminal has a window). On Windows you can try pythonw.exe instead of python.exe. Or you start cmd.exe and pass the path to Python executable with -c as parameter to cmd.exe
  • make phone call inside the app

    Unsolved
    6
    1 Votes
    6 Posts
    2k Views
    tomasz3dkT
    @Marek I have no experience with freeswitch as client library, but only as pbx server. Anyway thanks for sharing this solution, if i will find some free time i will check it.
  • Is possible to use styleSheets for only one QGraphictsItems

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    Q
    What is the best way to distinguish the a single QGraphicsItem from other QGraphicsitems in the QGraphicsView I cannot change he color as well style any other way any one can suggest , Will inserting a image will help
  • About QT64 bit support

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    V
    Thanks. Will try it out
  • How can I display two QTextEdit widget share same content?

    Solved
    2
    0 Votes
    2 Posts
    551 Views
    raven-worxR
    @QString said in How can I display two QTextEdit widget share same content?: I wonder if there exist some elegant way to share content. no, currently not. Since there is a rich-text and a plain-text layout object internally there is no data which can be shared. I would rather say do not display 50KB of data at once. Implement some type of paging instead.
  • suggestions for graphing/plotting

    Unsolved
    12
    0 Votes
    12 Posts
    8k Views
    VRoninV
    Qt Chart and KD Chart (unfortunately I have no other experience with the other tools mentioned so I can't comment on those) can link directly to a QAbstractItemModel to refresh as soon as you update your data in the model. Qt Chart, at the current development, however, refreshes the entire series every time 1 point changes making it quite slow when handling large volumes (did not test KD Chart under those conditions)
  • Connect() uses wrong emitter object.

    Unsolved connect connection signal slot class
    7
    0 Votes
    7 Posts
    3k Views
    Pradeep KumarP
    @Kalado said in Connect() uses wrong emitter object.: Look at some code: //A.h class task2 : public QWidget { Q_OBJECT public: task2(QWidget *parent = 0); ~task2(); protected: void mousePressEvent(QMouseEvent *event) override; signals: void myWidgetClicked(); //A.cpp void A::mousePressEvent(QMouseEvent *event){ /// use the respective classname emit myWidgetClicked(); } If ur using Classname as task2 , use void task2::mousePressEvent(QMouseEvent *event){ emit myWidgetClicked(); } Thanks,
  • Error message when calling function

    Solved
    3
    0 Votes
    3 Posts
    648 Views
    G
    @m.sue Thank you. It worked.
  • Destructor called twoice

    Solved
    6
    0 Votes
    6 Posts
    2k Views
    C
    @apalomer Congratulations.
  • Dockable widget stops painting on window resize

    Solved
    3
    0 Votes
    3 Posts
    572 Views
    SGaistS
    Hi and welcome to devnet, You should at least give the Qt version you are using as well as platform your a running. You can also check the bug report system to see if you can find something similar.
  • How to build a Windows 64-bit Qt app using MinGW-64-bit

    Unsolved 64-bit mingw64 windows 7 64 bi
    2
    0 Votes
    2 Posts
    2k Views
    SGaistS
    Hi, You first have to build a 64bit Qt with MinGW. This wiki article might help you get started. Hope it helps
  • Will qtimers slots conflict happen?

    Unsolved
    4
    0 Votes
    4 Posts
    985 Views
    SGaistS
    The download will also happen asynchronously. Is it me or are you preparing an architecture that might work based on an internal technical detail ?
  • PyQt5 Alternative to setHandlesChildEvents

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    J
    Thanks Kyle. In the end I solved it by subclassing my qgraphicsitemgroup and adding a sceneEventFilter. This appears to be the approach the C++ people take
  • Qt - Diagram Editor or Form Designer

    Unsolved
    1
    0 Votes
    1 Posts
    542 Views
    No one has replied
  • QGraphicsPolygonItem Opacity

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    K
    the difference is due to a modification of the Composition Mode of the QPaineter wich was painting the objects (QPainter::QCompositionMode_Darken on the first screenshot and QPainter::QCompositionMode_SourceOver on the second one) So not an evolution of Qt painting behavior, but a modification of the app's code.
  • Open a process and embed in a widget

    Unsolved
    3
    0 Votes
    3 Posts
    1k Views
    V
    I though so, thank you very much @raven-worx
  • QVariant to/from QFlag

    Unsolved
    6
    0 Votes
    6 Posts
    2k Views
    mrjjM
    @shavera said in QVariant to/from QFlag: Q_DECLARE_METATYPE I dont see you register your own enum anywhere? Q_DECLARE_METATYPE (Dummy::DummyOpt);
  • Stable version of Qt

    Unsolved
    5
    0 Votes
    5 Posts
    2k Views
    VRoninV
    @Sinbad Please report it anyway. being a regression it will probably be treated with high importance and fixed.
  • Nicely paginate a QTextDocument

    Unsolved
    1
    0 Votes
    1 Posts
    617 Views
    No one has replied