Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.4k Posts
  • 0 Votes
    2 Posts
    902 Views
    jsulmJ
    @incam https://doc.qt.io/qt-5/qpropertyanimation.html
  • How do I rearrange menu bar options in Qt Designer 5?

    Unsolved
    2
    0 Votes
    2 Posts
    457 Views
    B
    I don't know by sure what do you mean by "menu bar selections". But if you mean moving a QAction in a QMenu, I could do "click and drag and drop" in my designer.
  • Connect Prototype help

    Unsolved
    18
    0 Votes
    18 Posts
    1k Views
    SPlattenS
    @SGaist said in Connect Prototype help: introspection Now thats a new one (for me), had to Wiki it! https://en.wikipedia.org/wiki/Type_introspection#C++
  • QMediaPlayer::setMedia() file path with spaces will FAIL?

    Unsolved
    7
    0 Votes
    7 Posts
    872 Views
    jsulmJ
    @davecotter said in QMeidaPlayer::setMeida() file path with spaces will FAIL?: this does seem like a critical failure? Agree
  • create a QList of QThreads

    Solved
    2
    0 Votes
    2 Posts
    476 Views
    jsulmJ
    @IonutP QList<QThread*> threads; ... threads.append(new QThread());
  • Qt/C++ System Diagnostic API

    Unsolved
    2
    0 Votes
    2 Posts
    176 Views
    Kent-DorfmanK
    There is no such thing as a "command line system call". syscalls are by definition system subroutine calls accessed through programming. google is your friend. look up /proc and sysfs.
  • Return QMessageBox::Icon instead of bool to check if method worked fine

    Solved
    6
    0 Votes
    6 Posts
    417 Views
    mrjjM
    @Please_Help_me_D Hi It would be easier just to put in a function that returns your enum and then use that instead of QMessageBox directly.
  • Redirect the output of failing unit tests

    Moved Unsolved
    2
    0 Votes
    2 Posts
    160 Views
    SGaistS
    Hi and welcome to devnet, Can you share your .gitlab-ci.yml file ?
  • Qt arrays with more than [500000] indexes

    Solved
    10
    0 Votes
    10 Posts
    688 Views
    N
    @nifroidl Hi i have a code, where i scanning all my system check files and sum files(lines) and paste all files to file. You big files it database. Big file it type you data.Big file have format text(1 format for all lines) You ptogram it methods for find and more in you data. Check themes iterator, maps,Qfile, threads,ios(tream). my scan check all my files where 1-2-3 millions lines for maximum 1 minute, and you have more methods + boost library for more methods you filesystems and check files. you index its 1 format for every line. this speed But if you create *arr 1gb and you put to memory this array it cache file it not way for you and not speed method
  • Matching QString variables

    Unsolved
    6
    0 Votes
    6 Posts
    603 Views
    Pablo J. RoginaP
    @Buller said in Matching QString variables: Perhaps some form of convenience function could be added to QSting in a future version? You're more than welcome to contribute a patch! :-)
  • ethernet / ip industrial protocol

    ethernetip industrial prot common industri cip
    3
    0 Votes
    3 Posts
    3k Views
    M
    @koahnig You are confusing Industrial Protocol with Internet Protocol. EtherNet/IP is an industry standard based of CIP used in build automation in assembly lines. This is the protocol used by most (if not all) Programmable Logic Controllers (PLC). @MMRtheDeveloper we've been using https://github.com/EIPStackGroup/OpENer in our Qt app to talk to our PLC. However, EtherNet/IP is proprietary and even if OpENer is open source, you still need to buy a license from ODVA. I don't think there is anything else out there already made or adapted for Qt.
  • How to get font height from QTextEdit where text is multiline?

    Unsolved
    2
    0 Votes
    2 Posts
    917 Views
    mrjjM
    Hi You have to tell it to wordWrap and give it an area like fm.boundingRect(QRect(0,0,width,100), Qt::TextWordWrap, text); Then you should be able to use newlines.
  • Remove window Icon

    Unsolved
    2
    0 Votes
    2 Posts
    841 Views
    mrjjM
    Hi As far as I know, its not possible as its an OS thing and outside of Qt. But try the Windows Flag example https://doc.qt.io/qt-5/qtwidgets-widgets-windowflags-example.html and see if there is a combi that suits your requirements.
  • Where would I find all those nice Open Source Custom Qt widgets?

    Unsolved
    3
    0 Votes
    3 Posts
    254 Views
    PerdrixP
    👍Thanks
  • debug variable

    Solved
    4
    0 Votes
    4 Posts
    291 Views
    AlbatorA
    @KroMignon arf it was so simple, you just had to go back to the beginning of the doc... thank you :)
  • How to detect GCC version in qmake (variable for .pro file)?

    Solved
    14
    1 Votes
    14 Posts
    4k Views
    mrjjM
    @KroMignon said in How to detect GCC version in qmake (variable for .pro file)?: But as Qt is moving from qmake to cmake as main build system, they may be obsolete. That only for building Qt itself. Not for building apps with Qt as that would break many, many projects and also my heart.
  • QSqlQuery, QJsonObject::iterator to QVariant

    Unsolved
    3
    0 Votes
    3 Posts
    158 Views
    No one has replied
  • How to animate margins of QWidget

    Solved
    5
    0 Votes
    5 Posts
    538 Views
    T
    @mrjj Thanks, it works great. The link helped a lot.
  • What are some alternatives to material style (qml)?

    Unsolved
    1
    0 Votes
    1 Posts
    180 Views
    No one has replied
  • QNetworkAccessManager reply is always empty

    Solved
    29
    1 Votes
    29 Posts
    4k Views
    jsulmJ
    @shokarta From the code you posted I don't see why it should freeze, but I don't know what else you are doing.