Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • 0 Votes
    1 Posts
    179 Views
    No one has replied
  • [SOLVED] QWidget::repaint: Recursive repaint detected

    4
    0 Votes
    4 Posts
    27k Views
    D
    @Code_ReaQtor, and andre, that is exactly the issue I had for the last 2 hours of debugging. Thanks a lot for the solution I found here 10 years later
  • This topic is deleted!

    Solved
    4
    0 Votes
    4 Posts
    43 Views
  • Qt RPC with gRPC over USB

    Unsolved rpc qrpc usb pigweed
    7
    0 Votes
    7 Posts
    2k Views
    E
    @semlanik ah I see. Thank you for your answer.
  • "oldsource" tag in QtLinguist

    Unsolved
    2
    0 Votes
    2 Posts
    374 Views
    D
    I also am interested in someone elaborating on that topic. I already found out how to get rid of all obsolete strings by using -noobsolete as argument to lupdate. However, those oldsource tags are something that I also not want to have. Is there a method to get rid of them other than hand edit the .ts file?
  • MdiArea - "Window" menu

    Unsolved
    4
    0 Votes
    4 Posts
    496 Views
    Pl45m4P
    @AnneRanch said in MdiArea - "Window" menu: For future similar objects I like to have "common window control" object - sort of library. Create a subclass of your own MDI Area with all the things you want to add. Then you can create multiple instances/objects and put it wherever you want.
  • mdiArea "window bar " no show

    Unsolved
    1
    0 Votes
    1 Posts
    101 Views
    No one has replied
  • Scene3D 3D model Entity rendering completion log

    Unsolved
    2
    0 Votes
    2 Posts
    209 Views
    H
    @HarishKumarBV said in Scene3D 3D model Entity rendering completion log: Hi, I'm working on a 3D model rendering Qt desktop application using Qt 5.15.16. I'm using Scene3D, Qt3DRender::QGeometry, and Qt3DRender::QMaterial for model material to render the model. Scene3D { id: sceneId Entity { id: root property Layer layer ModelMaterial { id: modelMaterial } GeometryRenderer { id: modelGeoRenderId } components: [modelMaterial, modelGeometryRenderer, root.layer] } } The model is changed every second or two. How do I know when the rendering of the current model is completed to initiate the next model update? How do I log the rendering completion for each model update? As the model grows the performance takes a hit, and any suggestion for improvement.
  • Graphic corruption using Ogre with Qt

    Unsolved opengl
    7
    0 Votes
    7 Posts
    2k Views
    G
    @SGaist Does it matter? How is 5.15 handling OpenGL apps when its internally using OpenGL?
  • QTimer does not stop

    Unsolved
    14
    0 Votes
    14 Posts
    1k Views
    Pl45m4P
    @aha_1980 said in QTimer does not stop: I also fully agree that here a static variable is unneeded, my point was to justify "Declaring a variable static in a slot every time the slot is called , is also not very good", because that is not correct. Haha yes, but my statement was that it's not good. As we can see from @herrgross reply, it worked. But this doesn't mean, that it's good style or a good practise to do so all the time. I wouldnt expect a static variable in a slot, especially when there are at least two better ways to achieve the same :) (using the QTimer API, or adding some non-static member to check if timer needs to be stopped or started)
  • MAC QT5.13 delete QCamera class make corruption

    Unsolved
    14
    0 Votes
    14 Posts
    2k Views
    M
    @ChrisW67 sorry, I used Qt 5.15
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    4 Views
    No one has replied
  • This topic is deleted!

    Unsolved
    3
    0 Votes
    3 Posts
    15 Views
  • QTabWidget setStyleSheet of background-color; QT5.12 Linux

    Solved
    3
    0 Votes
    3 Posts
    235 Views
    S
    @Pl45m4 Thank you for your reply.I found the cause through the vetting process. QTabWidget doesn't seem to support setting ARGB colors, as I had problems with #302c3a4a colors, but other colors like red or #ff0000 worked fine.
  • Issues with drawing on the HDC of QWidget by functions from other libs.

    Solved
    15
    0 Votes
    15 Posts
    2k Views
    YurikaY
    @Chris-Kawa That makes sense. Thanks very much!
  • QtLocation doesn't compile correctly with qmake -r and make

    Unsolved
    11
    0 Votes
    11 Posts
    1k Views
    R
    @PiBo said in QtLocation doesn't compile correctly with qmake -r and make: @ChrisW67 Hi, It worked this time round. I started on a clean ubuntu 22.04 again. Installed qtbase-private-dev (which also installes qtbase-dev) , then installed build-essential (previously I installed qtbase-dev before qtbase-private-dev . Can't see how that makes a diff) after this I could see that qtlocation5-dev , libqt5location5 , libqt5location5-plugin-mapboxgl , libqt5location5-plugins gets installed. Then: (This part I also did differently , I previously downloaded a zip from github) git clone https://github.com/qt/qtlocation.git cd qtlocation git checkout 5.15 mkdir ../build cd ../build qmake ../qtlocation/qtlocation.pro make Life can continue now. Thanks for your help!! If the package passes qmake, but then fails make, doesn't this indicate there is a problem in the build system not recognizing missing dependencies during at configuration time?
  • What is main widget in the context of QLayout::SizeConstraint?

    Unsolved
    6
    0 Votes
    6 Posts
    514 Views
    Christian EhrlicherC
    I'm not sure why there is 'main' - maybe to emphasise that it does not affect the children of the widget.
  • Qt Message, what does it mean, is it important ?

    Unsolved
    16
    0 Votes
    16 Posts
    1k Views
    SPlattenS
    @JoeCFD , thank you, I will certainly take a look into this.
  • Infinite boundless Canvas

    Unsolved
    5
    0 Votes
    5 Posts
    885 Views
    N
    @Pl45m4 Thank you, I should definitely look into Graphics View. I'm going to leave this thread open and update with solutions as I come across them.
  • QtInsight not availabe as standalone module

    Unsolved
    6
    0 Votes
    6 Posts
    636 Views
    L
    @Pl45m4 said in QtInsight not availabe as standalone module: @Lucas-Huenniger AFAIK the tracker library is the part that should be installed on the app you want to "watch". This is not the whole QtInsight framework Yes, I meant the tracker library. In the onboarding instructions (https://www.qt.io/product/insight/onboarding-instructions) there is only shown, how I can install this library using a gui (e. g. in linux). I want to automatically install this library e. g. in a docker container. I did not found any possible solution for this so far.