Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.6k Posts
  • Get output stream from QProcess

    Solved
    21
    0 Votes
    21 Posts
    9k Views
    JonBJ
    @t0msk As I said many times apt update is only example, and if you use pkexec it will show system popup like on screenshot ... @jsulm has leapt to my defence :) And as I have said many times, my question is not about apt update but about why you need to run it or anything else sudo from your program? This equally applies if you go pkexec (though the whole point of that is it's part of polkit, and the point of polkit is that you are supposed to configure it so that it does not "show system popup like on screenshot").
  • The QLineEdit::setValidator can't stop QIntValidator Top Value when user input?

    Solved
    3
    0 Votes
    3 Posts
    441 Views
    X
    @VRonin I read your links. And it works. Thank you very much.
  • long polling in QT client application

    Unsolved
    1
    0 Votes
    1 Posts
    321 Views
    No one has replied
  • The ProgressBar doesnt close Properly

    Unsolved
    3
    0 Votes
    3 Posts
    201 Views
    jsulmJ
    @sankarapandiyan said in The ProgressBar doesnt close Properly: popup_progress->setValue(popup_progress->value()+1); int value = popup_progress->value() + 1; popup_progress->setValue(value); Why do you set the value twice?! Lets say popup_progress->value() is 99, then: popup_progress->setValue(popup_progress->value()+1); // here you set it to 100 int value = popup_progress->value() + 1; // value is 101 now popup_progress->setValue(value); // you set 101 here So, value is never 100 in my example!
  • This topic is deleted!

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

    Unsolved
    1
    -2 Votes
    1 Posts
    6 Views
    No one has replied
  • This topic is deleted!

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

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

    Unsolved
    1
    0 Votes
    1 Posts
    2 Views
    No one has replied
  • Strange behavior in QtCreator Gui Designer

    Solved qtcreator qtdesigner designer error
    3
    0 Votes
    3 Posts
    786 Views
    Q
    @qt_emp I found it I think. When I turned off auto indent it stopped doing this.
  • Can't terminate QApplication before MainWindows is shown.

    Solved
    5
    0 Votes
    5 Posts
    330 Views
    artwawA
    @Chris-Kawa I've already sorted the problem in the actual code, works like a charm. Many thanks for your help!
  • Http file send

    Unsolved
    3
    0 Votes
    3 Posts
    197 Views
    artwawA
    To extend @LeLev answer a bit, the easiest way is to initiate QNetworkAccessManager and use one of its methods (put or post, probably, you can also use custom if those two don't exactly fit). Documentation on QNetworkAccessManager
  • QPA: memory leaks in platform integrations like qminimal and others

    Unsolved
    2
    0 Votes
    2 Posts
    194 Views
    Christian EhrlicherC
    @AnatoliyS said in QPA: memory leaks in platform integrations like qminimal and others: But it doesn't work, because deleting forward-declared object lead to unpredicted behaviour Can you explain this? QScreen has a virtual dtor so I don't see any problem here. And since you instantiate QMinimalIntegration only once it's not much of a problem (although it should be fixed - please create a bug report about this).
  • MSVC2015 64bit compiler kit - installation requirements

    Solved
    5
    0 Votes
    5 Posts
    9k Views
    S
    Do you set the PATH on your computer? Check it from "this PC">>"Properties">>"Advandced setting">>"Enviroment V...">>"Path">>Edit
  • This topic is deleted!

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

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

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

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

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

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