Navigation

    Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tags
    3. qt5
    Log in to post

    • UNSOLVED Showing negative values of axis on the progress bar
      General and Desktop • qt5 progress bar • • suslucoder  

      4
      0
      Votes
      4
      Posts
      4
      Views

      @suslucoder said in Showing negative values of axis on the progress bar: can i put this AFAIK yes, why don't you try it ?
    • UNSOLVED Converting binary data to String
      General and Desktop • qt5 serial port binary format • • suslucoder  

      12
      0
      Votes
      12
      Posts
      41
      Views

      And that binary contains just that ?
    • UNSOLVED Mcu and Serial Communications
      General and Desktop • qt5 widget serial • • suslucoder  

      7
      0
      Votes
      7
      Posts
      36
      Views

      @jsulm Yes i know. Thank you for answering.
    • UNSOLVED Open the port which selected on combo box
      General and Desktop • qt5 combobox serial port • • suslucoder  

      10
      0
      Votes
      10
      Posts
      23
      Views

      @suslucoder I don't see why it would not be possible to select other entries in a combo box. Do you do anything else with ui->ports?
    • UNSOLVED QNetworkAccessManager::setNetworkAccessible useful but DEPRECATED
      General and Desktop • qt5 network access accessmanager networkaccess • • sangioQtDev  

      5
      0
      Votes
      5
      Posts
      55
      Views

      @SGaist I didn't in fact ( and I can't in the short term). Just to clarify I'll mention the documentation related to this 'bearer stack removal' : Qt Network in Qt 6. It also leads to QTBUG-86966 where QNetworkInformation is presented as solution for "Reachability" device state checks!! However I still can't find anything that tells me how to overcome my "NoInternetAccess" device state related problem. But that's great news!! Maybe my problem has already been taken care of. Thanks!!
    • UNSOLVED When reading QJsonArray it gives always 0
      General and Desktop • qt5 qjsonarray reading • • suslucoder  

      25
      0
      Votes
      25
      Posts
      72
      Views

      Thanks for all answers. I will reformat my json file and try it again
    • SOLVED Close the widget when push the button
      General and Desktop • qt5 widget pushbutton • • suslucoder  

      3
      0
      Votes
      3
      Posts
      16
      Views

      @suslucoder said in Close the widget when push the button: want to close the widget when i clicked on Ok button. What widget (do you want to close)?
    • SOLVED Read from Json in an order
      General and Desktop • qt5 json jsonparser • • suslucoder  

      9
      0
      Votes
      9
      Posts
      39
      Views

      @jsulm thank you. I did it with your solution. It works fine.
    • SOLVED How to parse such a complex json file
      General and Desktop • qt5 json read • • suslucoder  

      10
      0
      Votes
      10
      Posts
      75
      Views

      @suslucoder The "Plan" array is a little unusual because the objects it contains are not all of the same structure. Usually, arrays should contain a sequence of elements of the same type. However, it is legal JSON. If you are certain that the first element of the "Plan" array will have the structure as in your example above, you can perhaps rely on the others to all have the 2nd type structure. Otherwise, you might need to check for the existence of certain keys -- for example, by using the function QJsonObject::contains() to determine which kind of object it is.
    • UNSOLVED Creating json file with subroot
      General and Desktop • qt5 json root • • suslucoder  

      13
      0
      Votes
      13
      Posts
      29
      Views

      @KroMignon thank you
    • UNSOLVED Trying to get Precompiled Headers running with Qt Creator on Mac
      General and Desktop • c++ qt5 precompile headers • • MacdonaldMark979  

      1
      0
      Votes
      1
      Posts
      19
      Views

      No one has replied

    • SOLVED no member named 'write' in 'QString'
      General and Desktop • qt5 json write • • suslucoder  

      9
      0
      Votes
      9
      Posts
      42
      Views

      @suslucoder said in no member named 'write' in 'QString': Im on ubuntu :) Oh, OK, then it doesn't actually matter as there is no "text vs binary" mode/format under Linux! Nonetheless I think it's good practice to put QIODevice::Text in, just in case you ever port to Windows...
    • UNSOLVED Storing real time datas as a JSON File
      General and Desktop • qt5 json real time • • suslucoder  

      6
      0
      Votes
      6
      Posts
      29
      Views

      @suslucoder This is contrary to 'real-time'.
    • UNSOLVED What does error: [a] Error 1 means?
      General and Desktop • qt5 build building error • • suslucoder  

      13
      0
      Votes
      13
      Posts
      22
      Views

      @jsulm Ok, i will check it
    • UNSOLVED Viewing class hierarchy of a QT Project
      General and Desktop • qt5 classes • • suslucoder  

      5
      0
      Votes
      5
      Posts
      50
      Views

      @kkoehne Thank you for answering
    • SOLVED Creating a JSON file
      General and Desktop • qt5 json write • • suslucoder  

      7
      0
      Votes
      7
      Posts
      42
      Views

      @KroMignon thank you
    • UNSOLVED Error when reading Json File
      General and Desktop • qt5 json jsonparser • • suslucoder  

      10
      -1
      Votes
      10
      Posts
      73
      Views

      @Christian-Ehrlicher I did use it. It looks in a code tag in my screen.
    • UNSOLVED Scroll chart, when new data come
      General and Desktop • qt5 chart scrollbar • • suslucoder  

      7
      0
      Votes
      7
      Posts
      28
      Views

      @suslucoder If your files all have the same structure (separator, data etc.), yes, you should actually.
    • UNSOLVED Multiple Line Chart
      General and Desktop • qt5 charts multiple charts • • suslucoder  

      7
      0
      Votes
      7
      Posts
      28
      Views

      @suslucoder There is no scrollbar. If you want one, you have to make one on your own, but it wouldn't make any sense. You have your data and you have your series. Now you can decide which parts you want to show in your chart (this is the "scrolling")
    • UNSOLVED Creating a chart with multiple datas
      General and Desktop • qt5 chart • • suslucoder  

      29
      0
      Votes
      29
      Posts
      80
      Views

      @suslucoder said in Creating a chart with multiple datas: Should i delete them? No. Why would you?
    • UNSOLVED How can I create our configuration file?
      General and Desktop • qt5 json config file • • suslucoder  

      19
      0
      Votes
      19
      Posts
      43
      Views

      @jsulm Ok. Thank you for your answers.
    • UNSOLVED QIODevice::write (QSerialPort): device not open
      General and Desktop • qt5 serialport com • • suslucoder  

      5
      0
      Votes
      5
      Posts
      35
      Views

      @suslucoder are you sure com4 is the correct name ? something seems of, I would suggest using https://doc.qt.io/qt-5/qserialportinfo.html to query for the correct port and port name
    • UNSOLVED QNetworkConfiguration in ligtmap example
      General and Desktop • qt5 map configuration • • suslucoder  

      3
      0
      Votes
      3
      Posts
      19
      Views

      And please use the code-tags to make your code readable!
    • UNSOLVED Tiles and Open Street Map
      General and Desktop • qt5 map tiles • • suslucoder  

      5
      -1
      Votes
      5
      Posts
      22
      Views

      @Christian-Ehrlicher Okey, thank you
    • UNSOLVED Offline Mapping
      General and Desktop • qt5 map osm tiles • • suslucoder  

      14
      0
      Votes
      14
      Posts
      54
      Views

      @jsulm said in Offline Mapping: Which one? It was me. The question was to similar.
    • UNSOLVED finding address with geocodemodel
      General and Desktop • qml qt5 map • • suslucoder  

      6
      0
      Votes
      6
      Posts
      52
      Views

      @suslucoder so again, where does Location come from then. Tokens starting with a capital letter have a special meaning in QML
    • UNSOLVED Qt Location, Map Cache
      General and Desktop • qt5 map cache disk cache • • suslucoder  

      7
      0
      Votes
      7
      Posts
      16
      Views

      @raven-worx thank you
    • UNSOLVED QT creator does not have kits
      General and Desktop • qt5 installation ubuntu 18.04 • • suslucoder  

      5
      0
      Votes
      5
      Posts
      24
      Views

      @suslucoder "QT Creator does not compile the projects" - is not a problem description. Also, QtCreator does not compile anything, a compiler does.
    • UNSOLVED Declare multiple png's on a path
      General and Desktop • qt5 map location • • suslucoder  

      4
      0
      Votes
      4
      Posts
      22
      Views

      @suslucoder said in Declare multiple png's on a path: Doesnt it contains 3 png? No You should check the code to see what it does with that string. %1, %2... are used to format string, see https://doc.qt.io/qt-5/qstring.html#arg
    • UNSOLVED How can I mark my current position?
      General and Desktop • qml qt5 map • • suslucoder  

      4
      0
      Votes
      4
      Posts
      36
      Views

      @suslucoder please have a look here https://doc.qt.io/qt-5/qtpositioning-index.html
    • UNSOLVED Map caching
      General and Desktop • qt5 maps • • suslucoder  

      1
      0
      Votes
      1
      Posts
      18
      Views

      No one has replied

    • UNSOLVED Svg files does not appear on the screen
      General and Desktop • qt5 svg qgraphics • • suslucoder  

      4
      0
      Votes
      4
      Posts
      30
      Views

      @suslucoder said in Svg files does not appear on the screen: There is no error code, i debug it but i cannot find any error also Please simplify your code. Just write a small program that displays 1 PNG image and does nothing else. When that works, replace the PNG image with an SVG image.
    • SOLVED error: cannot initialize object parameter of type 'Ui_MainWindow' with an expression of type 'Ui::MainWindow'
      General and Desktop • qt5 widget main window • • suslucoder  

      8
      0
      Votes
      8
      Posts
      156
      Views

      @suslucoder If you changed anything in ui_mainwindow.h this could happen. If you get what seems like an inexplicable error when compiling, wiping the output directory can sometimes resolve. However, this does not apply to normal, run-of-the-mill errors!
    • SOLVED error: aggregate 'QPainterPath path' has incomplete type and cannot be defined
      General and Desktop • qml qt5 • • suslucoder  

      3
      0
      Votes
      3
      Posts
      141
      Views

      @dheerendra It works. Thank you!
    • UNSOLVED How can multiple threads have the same thread ID?
      General and Desktop • qt5 threads • • suslucoder  

      7
      0
      Votes
      7
      Posts
      69
      Views

      @KroMignon I will fix it thank you
    • SOLVED Does it make any difference using public slot or private slot?
      General and Desktop • qt5 slot • • suslucoder  

      3
      0
      Votes
      3
      Posts
      24
      Views

      @jsulm Thank you