Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.7k Posts
  • cmake failes after updates

    Solved
    2
    0 Votes
    2 Posts
    420 Views
    jronaldJ
    Solved by deleting the output folder.
  • How to open file-manager on a remote PC

    Unsolved
    3
    0 Votes
    3 Posts
    433 Views
    P
    I think I've two options here. I write file-manager functions on client side which would be remotely invoked and the output would be transmitted back to my server to be shown in QML (?) Or Instead of writing every function, I could utilize clients CMD (as it has already builtin functions e.g. cd, dir, copy, move) and throws STDOUT back to my server to be shown in QML window/frame (?)
  • 'QString' and 'QString&' issue

    Solved
    7
    0 Votes
    7 Posts
    2k Views
    goloviznin.kG
    @ChrisW67 Thank you for your answer. I should have probably changed the argument from 'QString&' to 'const QString&' rather than just 'QString'. Perhaps Qt has nothing to do with it. It's just that the MSVC compiler got tired of having it this way and decided that in 2022 we will do the right thing. But I haven't updated it. This is the machine rebellion. Against bad code I guess.
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Login Application

    Unsolved
    1
    0 Votes
    1 Posts
    163 Views
    No one has replied
  • QFileDialog prevent user from overriding file filter

    Unsolved
    4
    0 Votes
    4 Posts
    529 Views
    faduF
    @Dimi you can check file after open file dialog finished If file end with.jpg .png etc....
  • Qt program crash why?

    Solved
    38
    0 Votes
    38 Posts
    5k Views
    KroMignonK
    @Wasee said in Qt program crash why?: If statement is working for if(test=="0x0") but not for if(test=="0x1"). Even test value in terminal is "0x1". at this point not entertaining to this if condition. thanks I don't want to hurt you, but it looks like you are not really understanding what you are doing. Why you don't use the debugger to set break points and running this part of code step by step to see what is really happening, as @JonB suggest to you?
  • make blur widget to blur everything under it

    Unsolved
    1
    0 Votes
    1 Posts
    233 Views
    No one has replied
  • Driver not loaded QSQlite when I give connection name

    Unsolved
    8
    0 Votes
    8 Posts
    608 Views
    jsulmJ
    @philxxx609 Then SQLite is not the right database for your use case
  • :-1: error: Project ERROR: Unknown module(s) in QT: qml

    Unsolved qtqml missing files
    12
    0 Votes
    12 Posts
    3k Views
    L
    @jsulm That crossed my mind also, so I did a full uninstall, then reinstalled from the Qt installer. Didn't change.
  • Specificially position pixmap in QLabel in QScrollArea or other solutions

    Unsolved
    3
    0 Votes
    3 Posts
    373 Views
    M
    @kshegunov So you're suggesting I reuse what I have already painted and only repainting the visible parts? I'm not sure I'm understanding you. What I would like is to only paint the visible part of the image for each movement in the ScrollBar and everything else should be empty. However my Label needs to be bigger to get the ScrollBars to represent my entire image. Now I need my image to be positioned where the QScrollArea is showing. WIth QWidget I would place a QWidget in QScrollArea, resize it and then paint directly on my widget in the area I want? Is it possible to start drawing in a specific location there?
  • WaitForFinished is not working with terminator terminal

    Unsolved
    12
    0 Votes
    12 Posts
    1k Views
    A
    @Christian-Ehrlicher @JonB Hi there, I have tested different terminals. The terminal that best "responds" is xfce4-terminal. The problem is: if I don't have any xfce4-terminal launched at first the qprocess works correctly. If by any chance I have launched some xfce4-terminal the qprocess tells me that the process has finished and sets the pid of the process to 0. It is a bit strange. Regards and thanks for the help.
  • How can I change dynamicly language?

    Unsolved
    5
    1 Votes
    5 Posts
    435 Views
    Y
    Okay I understend. Thanks for help :)
  • About exception

    Unsolved exception try catch try catch
    4
    0 Votes
    4 Posts
    772 Views
    J.HilkJ
    @JonB said in About exception: /EHa What /EHa does is chaniging the definition of an exception, extending it, wrapping system level errors as exceptions. This is non-standard and AFAIK MSVC specific. I would stay as far away from it as possible.
  • How to make version checking success?

    Solved
    2
    0 Votes
    2 Posts
    251 Views
    J.HilkJ
    @pachisuro4096 oh my goodness where to begin. Using threads when not needed (asynchronous api) forcing synchronous behaviour on asynch api overwriting run as threading method not using the exec() of QThread class but using an additional QEventloop calling deleteLater on a stack variable the problem is probably your timeout 2 seconds could be to short
  • Best practice for a wizard?

    Unsolved
    2
    0 Votes
    2 Posts
    288 Views
    jsulmJ
    @Dan203 I would say it is up to you. Creating separate widgets makes sence if you want to reuse them somewhere else in your app.
  • slots and signals without ability to modify worker thread?

    Unsolved
    2
    0 Votes
    2 Posts
    289 Views
    jsulmJ
    @Firedan1176 said in slots and signals without ability to modify worker thread?: Each frame is processed within a thread How do these threads provide the result of their processing? How does the API look like?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    6 Views
    No one has replied
  • valgrind says my code is wrong, but I don't see where ...

    Unsolved
    3
    0 Votes
    3 Posts
    377 Views
    D
    Thanks a lot!
  • Is there any way to use Qt Remote Objects from another program language?

    Unsolved
    2
    0 Votes
    2 Posts
    261 Views
    Pl45m4P
    @Mozzie There are examples how remote connection works: https://doc.qt.io/qt-5/remoteobjects-example-static-source.html