Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • 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
  • Qwt plugin uses incompatible Qt Library 5.9.0

    Solved
    13
    0 Votes
    13 Posts
    6k Views
    G
    @mrjj It's working on Qt5.9.1 and compiled msvc2015. First, I download the msvc2015 from the maintenance tool. Then I compiled with Qt 5.9.1 for Desktop(msvc2015) and installed it. After compiled, copied designer dll file to qtcreator designer plugin folder. Finally, I deleted msvc and returned the mingw :) Now it's working with mingw.
  • How to make Secure WebSocket Server doesn't verify clients

    Unsolved
    1
    0 Votes
    1 Posts
    542 Views
    No one has replied
  • Debugging QMediaPlaylist::load(QUrl)

    Unsolved
    4
    0 Votes
    4 Posts
    1k Views
    H
    Thanks @jsulm , printing the ErrorString provides a clue: I get an empty file error. Hmmm... Something seems to go wrong when retrieving the playlist from the remote server. Using curl with the provided URL does work, so that's not the problem. I'll try to dig deeper...
  • Browsers and Java Script.

    Solved
    12
    0 Votes
    12 Posts
    3k Views
    B
    Done & Solved, tnx again.
  • how to handle asynchronous terminal input properly in a console application?

    Unsolved
    11
    0 Votes
    11 Posts
    7k Views
    S
    @jsulm on WIN10 , the sample code can't work.Maybe linux works well. I found a solution on How to handle keypress events in a Qt console application? . The final answer works well!