Skip to content

General and Desktop

This is where all the desktop OS and general Qt questions belong.
83.4k Topics 456.3k Posts
  • Translations not working after deployment

    Solved
    17
    0 Votes
    17 Posts
    1k Views
    H
    @SGaist oh, it is mingw64 from msys2.
  • Qt Remote Object call Slot synchronicity

    Unsolved
    3
    1 Votes
    3 Posts
    531 Views
    G
    Hello Daes, I'm facing the same problem and it seems no one responded to your previous post. Would it be possible to combine qt Remote objects and QConcurrent and Qfuture to execute the slots asynchronously?
  • Reading integers from a line edit and publishing the data to ROS topics.

    Solved
    3
    0 Votes
    3 Posts
    330 Views
    A
    @SGaist said in Reading integers from a line edit and publishing the data to ROS topics.: QSpinBox Worked like a charm :) Thanks a lot!
  • How to get data read from tcp to display on Qchart?

    Unsolved
    12
    0 Votes
    12 Posts
    928 Views
    SGaistS
    Hi, Sure it is, convert it to a QString. Just beware that depending on the content, it might have surprising results.
  • QOpenGLFunctions in Docker (headless OpenGL)

    Unsolved
    7
    0 Votes
    7 Posts
    2k Views
    SGaistS
    Hi and welcome to devnet, Did you try to use the eglfs backend ? Since the Nvdia documentation mentions egl as system to use so you do not need an X server running.
  • Qmenu aboutToShow do not freeze the program while it is open

    Solved
    12
    0 Votes
    12 Posts
    998 Views
    KaguroK
    @mrjj Oh yeah! This is it and works! :D Many many thanks my hero!
  • Is QSettings::setValue costly

    Solved
    20
    0 Votes
    20 Posts
    2k Views
    H
    @artwaw said in Is QSettings::setValue costly: QSettings saves all the data to registry. I'd rather avoid that, you understand. I set it to save to .ini files, I didn't try it but registry gave me a impression that it would be messy. Mind you, I don't say your approach will not work in the end. I know Thank you for your insight
  • Read access violation error

    Unsolved
    13
    0 Votes
    13 Posts
    2k Views
    jsulmJ
    @ivanicy You can also try to disable parts of your code until it stops crashing then you know roughly where it is. And if you use CVS like Git you can check the changes since last stable version.
  • How to return QJsonObject from scripted call via engine evaluate?

    Solved
    2
    0 Votes
    2 Posts
    221 Views
    KroMignonK
    @SPlatten The easiest way is to convert it to string (objectName.toString()) and parse the string with QJsonDocument::fromJson().
  • [GLES fragment shader] RGB_Integer sampler

    Unsolved
    1
    0 Votes
    1 Posts
    107 Views
    No one has replied
  • Standard labels (like Quit/Exit)

    Solved
    7
    0 Votes
    7 Posts
    540 Views
    R
    @raven-worx Oh, sad it isn't there. Thank you very much.
  • Build error. Unresolved external symbol

    Solved
    2
    0 Votes
    2 Posts
    189 Views
    JonBJ
    @aravmadd You have declared a private slot setValue() but do not seem to have actually defined the method, hence the link error?
  • write to a different file each time of run

    Solved qt5 json write
    7
    0 Votes
    7 Posts
    1k Views
    D
    @J-Hilk thank you
  • Bluetooth Low Energy Heartrate Server example not working

    Unsolved
    2
    0 Votes
    2 Posts
    354 Views
    A
    Yes. I am facing the same issue. Do you found any solution. How can I fix this problem.
  • UI doesnt refresh correctly

    Unsolved qt5 serial port user interface
    20
    0 Votes
    20 Posts
    3k Views
    mrjjM
    @suslucoder ok im not sure what s does. Anyway, could you try (in on_Serial_Read) memset(dizi, 0, 14); memcpy(dizi, data.constData(), data.size()); in place ot the line memcpy(dizi, data.constData(), 14); and tell if it still stops at 15 ?
  • system tray icon missing when running as root

    Solved
    14
    0 Votes
    14 Posts
    2k Views
    JonBJ
    @ngochm You do not explain what this has to do with root. You talk about "privilege". Do you actually run a some (other) process as root from your app? Do you attempt to read from/write to a file in the file system which only allows root access? Or what?
  • STUCK ! ERROR : No suitable kits found

    Unsolved
    3
    0 Votes
    3 Posts
    728 Views
    JKSHJ
    Hi, and welcome! @thaya said in STUCK ! ERROR : No suitable kits found: I just installed the application. You need to install 3 things: Qt Creator, the IDE (Integrated Development Environment) A version of the Qt libraries A C++ compiler that is compatible with your Qt libraries You have definitely installed Qt Creator. However, it's not clear if you have installed Qt and a compiler. (A "Kit" = Qt + Compiler) Which compiler do you want to use?
  • Accessing form element's properties

    Unsolved
    9
    0 Votes
    9 Posts
    488 Views
    jsulmJ
    @AI_Messiah After editing the ui file in designer you should rebuild your project, so the uic compiler generates ui code, then autocomplition should work.
  • Qt Creator making shared library instead of executable

    Unsolved
    7
    0 Votes
    7 Posts
    3k Views
    H
    I know this is a very old post but I am stating my solution for newcomers and people running into the same issue in hopes it will help them. I also had this issue and my solution was to add this to my .pro file QMAKE_LFLAGS += -no-pie When I had this issue I tried everything suggested and this is the first one that worked. Then I went online to try to see why that worked but didn't find anything right away so I left as it was. Working. I can't find the link to the forum where I found this now, I had many tabs open then and didn't pay attention to the website name.
  • QTcpSocket and WebAssemblity trouble

    Solved
    5
    0 Votes
    5 Posts
    751 Views
    lorn.potterL
    Qt Webassembly cannot block the main thread, so normal Qt socket classes still do not work correctly, as is. There is some work being done to get them working better with a threaded version of Qt WebAssembly, but it is still fairly WIP and not scheduled for any Qt version yet. Even so, some things like select() and poll() will not work. Best to use websockets, as any posix sockets get translated into websockets, unless you use a proxy server method mentioned in: https://emscripten.org/docs/porting/networking.html