Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.6k Topics 457.8k Posts
  • Communication between Qt application via QProcess

    Solved
    7
    0 Votes
    7 Posts
    1k Views
    Pablo J. RoginaP
    @kirilsagoth said in Communication between Qt application via QProcess: QLocalServer/Socket did the job beautifully. So please mark your post as solved! Thanks.
  • Custom Length of Scrollbar / scrollView in QML / QT

    Unsolved
    1
    0 Votes
    1 Posts
    209 Views
    No one has replied
  • db connection live...

    Unsolved
    4
    0 Votes
    4 Posts
    362 Views
    SGaistS
    Yes it will. It's talked about in the details of the class.
  • Layout Options for Qt Widgets Grayed Out

    Solved
    3
    0 Votes
    3 Posts
    4k Views
    D
    Ah, yes, that does make sense. Thanks.
  • QGenericMatrix vs Eigen

    Unsolved
    3
    0 Votes
    3 Posts
    558 Views
    kshegunovK
    @fem_dev said in QGenericMatrix vs Eigen: So, is there any advantages to inclue Eigen (link) in my project and use it instead of use QGenericMatrix? @SGaist is right, Qt does this only because it doesn't use a ready-made package. If you really need LA, then Qt ain't your thing for the job.
  • 0 Votes
    5 Posts
    650 Views
    SGaistS
    Can you try with a more recent version of Qt ?
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    3 Views
    No one has replied
  • Weird behaviour with QFileDialog::getExistingDirectory

    Unsolved c++ qfiledialog
    3
    0 Votes
    3 Posts
    1k Views
    SGaistS
    Hi, One base rule: all GUI manipulation must be done in the main thread (well the one that started the QApplication event loop).
  • QFileDialog to select a file returns Permission denied

    Unsolved
    5
    0 Votes
    5 Posts
    1k Views
    JonBJ
    @cerr The root of whatever the problem is lies in the QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Permission denied see whether either of https://toggen.com.au/blog/it-tips/cause-of-qcad-qinotifyfilesystemwatcherengineaddpaths-inotify_add_watch-failed-permission-denied https://forum.libreelec.tv/thread/1805-fail-on-read-only-fs-without-useful-notice/ help you/give you any hints. Otherwise I think you'll have to read up on however "Linux inotify user permissions" work....
  • Add Image or graphics object to QChart

    Unsolved
    1
    0 Votes
    1 Posts
    373 Views
    No one has replied
  • Problems with websockets

    Solved websocket
    8
    0 Votes
    8 Posts
    3k Views
    SteMMoS
    I solved ! The author of the libwebsockets library suggested me to initialize the engine with a default subprotocol if the client did not define it. And it worked ! Thanks!
  • How to use c++ library in .c file

    Solved
    9
    0 Votes
    9 Posts
    1k Views
    Pablo J. RoginaP
    @BriFuture said in How to use c++ library in .c file: the troublesome problem is solved. So please mark your post as such! Thanks.
  • I need a Spin Control. Can I make a spin box without the text box?

    13
    0 Votes
    13 Posts
    4k Views
    D
    @JonB Thanks for the quick answer. Since QLinedit seems to be protected, I don't have access. Furthermore, I don't find away how to e.g. set the width of the text box. Anyway, I'll try with style sheets. Since I just started with Qt, it will take a while. Whenever I found a solution I will report on it. Cheers delos
  • This topic is deleted!

    Unsolved
    1
    0 Votes
    1 Posts
    5 Views
    No one has replied
  • Next LTS release. When and which?

    Solved
    4
    0 Votes
    4 Posts
    1k Views
    B
    @J-Hilk @JKSH Thx. Looks like no any sense to move out of 5.12 ... At least while 5.15.1 not appeared ... My personal experience of using 5.13 - is very bad. I am choosing release for new application right now. But need to know what to do with new Android requirements for separate application versions and new application archive type that promised to be released on 5.14 and new Qt Creator Version.
  • QSlider Fusion style change blue color to gray

    Unsolved
    1
    0 Votes
    1 Posts
    186 Views
    No one has replied
  • How can I get the scrollbar value of one widget in a scrollarea

    Unsolved
    2
    0 Votes
    2 Posts
    183 Views
    mrjjM
    Hi Did you try to fool around with https://doc.qt.io/qt-5/qscrollarea.html#ensureWidgetVisible and the margin to see if that can be used ?
  • QtCreator doesn't show 3D Studio Project

    Unsolved
    1
    0 Votes
    1 Posts
    142 Views
    No one has replied
  • Menus not showing up in MainWindow

    Solved
    8
    0 Votes
    8 Posts
    868 Views
    JonBJ
    @sandro4912 said in Menus not showing up in MainWindow: mGameMenu->addAction(mCustomAction); In this case, in the code as shown your mGameMenu is fine/initialized, but the parameter mCustomAction is an uninitialized variable. A bad parameter to addAction() could doubtless cause a seg fault.
  • Small QLineEdit

    Solved
    4
    0 Votes
    4 Posts
    733 Views
    JonBJ
    @DrZod I am trying to make a Sudoku.I want to take the inputs using QLineEdit That would mean creating 81 QLineEdits for a standard-sized Sudoku board. I'm not sure in Qt, but this may be regarded as bad practice? My thought (in your next iteration, for public release :) ) would be something like a QTableWidget containing at worst a QLabel or better just plain text without a widget most of the time, with a change over to editable (QLineEdit or otherwise) at the instant user clicks into cell, revert back once clicked outside?