Navigation

    Qt Forum

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

    • UNSOLVED Windows Fade Out
      General and Desktop • animation qt5.9 • • ELEMENTICY  

      2
      0
      Votes
      2
      Posts
      176
      Views

      Hi You can try setWindowOpacity(); https://doc.qt.io/qt-5/qwidget.html#windowOpacity-prop with a PropertyAnimation https://doc.qt.io/qt-5/qpropertyanimation.html
    • UNSOLVED cross-compile application with Qt which also uses OpenCV C++ on raspberry pi
      Mobile and Embedded • cross compile qt5.9 raspberry pi 4 opencv cpp opencv qtcreato • • ishi  

      4
      0
      Votes
      4
      Posts
      477
      Views

      @ishi Visual Studio is of no interest here as you cannot use it to cross compile to ARM Linux as far as I know. If your app is using OpenCV you will either need to install it on your RPi (including the -dev package) and sync the sysroot, or cross-compile it.
    • SOLVED Changing image colour programatically in QML
      QML and Qt Quick • qml qtquick qt5.9 • • BikashRDas  

      5
      0
      Votes
      5
      Posts
      1605
      Views

      Thanks every one for your reply. @fcarney The ColorOverlay is working fine for me. Thanks for the same.
    • UNSOLVED Using Qt Remote Object with Cmake
      General and Desktop • cmake qobject qt5.9 remoteobject • • glamis  

      1
      0
      Votes
      1
      Posts
      199
      Views

      No one has replied

    • UNSOLVED How to draw image faster
      General and Desktop • opengl windows 10 qt5.9 • • yijia  

      2
      0
      Votes
      2
      Posts
      359
      Views

      @yijia Maybe with different QLabel and QPixmap or QPicture https://doc.qt.io/qt-5/qlabel.html#pixmap-prop https://doc.qt.io/qt-5/qlabel.html#setPicture
    • UNSOLVED QSqlDatabase and upgrade to Qt5.12
      General and Desktop • qsqldatabase threads qt5.9 qt5.12 • • Alain38 0  

      2
      0
      Votes
      2
      Posts
      197
      Views

      @Alain38-0 said in QSqlDatabase and upgrade to Qt5.12: Unfortunately with Qt5.12 nothing works. Because the database must be now in the same thread that the process using it. I'm surprised it used to work at all. So far as I understood, it was always the case that database access had to be in same thread as where database created.
    • SOLVED How to print text with QText2DEntity?
      Game Development • c++ qt3d qt5.9 qt 5.9 qtext2dentity • • PolyGlot  

      4
      1
      Votes
      4
      Posts
      1221
      Views

      @Cute3d, yes, it finally works. Idk what was wrong. Example project:https://github.com/Nonmant/Qt3DExtras-QText2DEntity-Example And due to god-knows-what reasons it doesn't work in debug mode. Hope, that project can help someone.
    • SOLVED Some trouble with QNetworkAccessManager and wifi on Windows 7
      General and Desktop • windows 7 qt5.9 qtnetwork • • nelbok  

      8
      0
      Votes
      8
      Posts
      2345
      Views

      Ok, it sounds like a bug then. Good if you open ticket. Make sure to include a small complete working example they can use to reproduce it.
    • UNSOLVED QMYSQL driver not loaded in os windows
      Persian • c++ mysql database qt5.9 • • javad935  

      3
      0
      Votes
      3
      Posts
      1788
      Views

      I have add C:\mysql\mysql-5.7.21-winx64\lib into path variable. but don't work!
    • SOLVED When i click a button i need the control to go back to main.cpp. In main.cpp it can be to any functions.
      Mobile and Embedded • c++ qt qtwidgets qt5.9 • • vyshak  

      6
      0
      Votes
      6
      Posts
      2372
      Views

      Thank you all, the issue is solved.
    • SOLVED ListView undefined reference to vtable for Custom Delegate (QStyledItemDelegate)
      General and Desktop • qt5 qlistview delegate qt5.9 qstyleditemdele • • CybeX  

      4
      0
      Votes
      4
      Posts
      2564
      Views

      Actually, since the base class already has a virtual destructor you can just remove the destructor of your derived altogether
    • UNSOLVED Qt3d QML representing dynamically growing number of obstacles
      QML and Qt Quick • qml qt3d qt5.9 dynamic qml • • MatPaul  

      1
      0
      Votes
      1
      Posts
      417
      Views

      No one has replied

    • SOLVED QtableView setSortingEnabled  forcing sortByColumn()
      General and Desktop • qtableview qt5.9 sorting qtableview c++ • • mapuna  

      23
      0
      Votes
      23
      Posts
      22393
      Views

      You could set default sorting column to -1 by QHeaderView::setSortIndicator like this yourTableView->horizontalHeader()->setSortIndicator(-1, Qt::AscendingOrder); before running yourTableView->setSortingEnabled(true); because QTableView::setSortingEnabled uses QHeaderView::sortIndicatorOrder and QHeaderView::sortIndicatorSection to identify by which column should model be sorted. Note that documentation of QHeaderView::setSortIndicator tells that not all models support setting sort column to -1 and may even crash in this case.
    • SOLVED Plugin architecture question
      General and Desktop • qml c++ plugins qt5.9 • • Aras  

      4
      0
      Votes
      4
      Posts
      1186
      Views

      @kshegunov yes that is exactly what I was wondering. I was not sure if plugins can be loaded into other C++ plugins or not. I will give this a shot. @SGaist good point about creating a library. I think isolating the communication API into a dynamic library would be an even better solution as you suggested. I will have to do some refactoring. Thank you both for sharing the quick and helpful response!
    • SOLVED QCanBus: Device Interface for peakcan and systeccan not available?
      General and Desktop • qt5.9 qcanbusdevice can qcanbus • • MrBrightSide8  

      4
      0
      Votes
      4
      Posts
      2693
      Views

      Yes, you're right. Thanks.
    • SOLVED QTableView: Cells value gets cleared when editing
      General and Desktop • qtableview qt5.9 qtableview c++ • • mapuna  

      2
      0
      Votes
      2
      Posts
      1186
      Views

      The answer in stackoverflow is correct. Is there no other way to get notified when an Edit begins? just declare and emit your custom signal in the delegate subclass Remember 1 model can service multiple views so, normally, the model should not depend on the state of the view or delegate
    • UNSOLVED QML : Consummation memory with QtQuick Compiler.
      QML and Qt Quick • qml qtquick compilation qt5.9 ram • • AdibH  

      2
      0
      Votes
      2
      Posts
      738
      Views

      Hi and welcome to devnet, That's a question you should rather bring to the interest mailing list. You'll find there Qt's developers/maintainers. This forum is more user oriented.
    • UNSOLVED Qt 5.9 error eglfs with raspberry pi 3
      Mobile and Embedded • raspberry pi 3 qt5.9 raspberry eglfs opengl es2.0 raspbian • • requinham  

      12
      0
      Votes
      12
      Posts
      8386
      Views

      @moldovan.catalin You can create symbolic link in /opt/vc/lib pointing to these libraries but having old names.
    • UNSOLVED Wide scale 3D model vizualiation
      General and Desktop • qt5.9 scaling 3drender simulation • • madsm  

      2
      0
      Votes
      2
      Posts
      594
      Views

      Hi! Have you seen the Qt 3D: Planets QML Example?
    • UNSOLVED Incorrect Font Metrics
      General and Desktop • font text qt5.9 qt quick 2.4 metrics • • romsharkov  

      8
      0
      Votes
      8
      Posts
      3505
      Views

      @romsharkov said in Incorrect Font Metrics: @raven-worx Didn't know about those methods, just tested it, for the lower case letter "g": QFontMetricsF::leftBearing() returns: -4.17188 QFontMetricsF::rightBearing() returns: 0.6875 But even if I add the (negated) leftBearing to the total text width it still doesn't cover the tail entirely, so what's wrong here? are you sure?! Those values seem to be correct / make sense according to your posted screens. Make sure that you add the absolute value (qAbs() for example). Also keep in mind that those values are only correct for the given font-size and that you can't add negative values to a image width. I guess you are just doing incorrect calculations. Can you show the code of the calculation?
    • UNSOLVED QWebEngineView freezes while autoscrolling a web page
      QtWebEngine • c++ qwebengineview qt5.9 scrolling web page • • lmofallis  

      1
      0
      Votes
      1
      Posts
      1029
      Views

      No one has replied

    • UNSOLVED CONFIG += qtquickcompiler doesn't seem to work
      QML and Qt Quick • qml qt5.9 precompile qtquickcompiler • • Naveen_AC  

      5
      0
      Votes
      5
      Posts
      4507
      Views

      Release builds using the QtQuick compiler generate a qtquickcompiler_loader.cpp file and *_qml.cpp files where * matches the name of your individual *.qml files all within a ".qtquickcompiler" folder within the "build-*-Release" output folder. I verified this with a commercial license Qt 5.9. Debugging QML is not compatible with the QtQuick compiler; using default settings to build a Debug executable will not use the QtQuick compiler.
    • UNSOLVED Qt5.9 VNC Support
      Mobile and Embedded • embedded linux qt5.9 qt5.8 vnc • • deleted184  

      6
      0
      Votes
      6
      Posts
      7154
      Views

      @deleted184 said in Qt5.9 VNC Support: Hi guys! According to the changelog of Qt5.8, vnc is back. I'm currently on Qt5.9 and i was able to launch my application with vnc enable like this: ./myQt59app -platform vnc:size=272x480 Via my VNC client everything works very well, however i have nothing displayed on the screen of my board :( . Do you have any idea on how to launch a qt5.9 application on a board and have a remote access via VNC ? I am using qt5.9 and i am able to start my qt application with vnc backend.However, when seeing from vncviewer or bnvc on android, i can only see a small part of my applicaiton( 1024x600 for my applicaiton , but on vnc client i can only see 1/4 part of the whole display). The following is my procedure: on my embedded linux server, run ./myQt59app -platform vnc:size=1024x600 in terminnal; on andriod ,using vnc viewer or bVNC to listen to ip address and port of my linux device. But both app can only see nearly 1/4 of the whole display. What is your procedure?Thanks!
    • UNSOLVED Which is Yocto meta layer branch(morty?) for Qt5.9 cross compiler toolchain?
      Mobile and Embedded • qt5.9 cross-compiling toolchain armv7 • • Mahesh Kumar Kodanda  

      1
      0
      Votes
      1
      Posts
      775
      Views

      No one has replied

    • UNSOLVED QAuidoInput buffer size problem
      General and Desktop • qt5.9 qaudioinput buffer • • returnx  

      2
      0
      Votes
      2
      Posts
      806
      Views

      Hi, See the documentation of bufferSize, you may not get what you requested because setting e.g. a too small buffer size might trigger overflow problem.
    • UNSOLVED Qt 5.9 x32 with msVC 2017
      Tools • qt5.9 msvc2017 • • km2442  

      13
      0
      Votes
      13
      Posts
      11792
      Views

      @SGaist Thanks. I will try it.
    • UNSOLVED QT 5.9 for i.MX6Q and Integrity RTOS build error - unrecognised command line option »-std=c++11«
      Mobile and Embedded • qmake embedded c++11 qt5.9 i.mx6 • • Mahesh Kumar Kodanda  

      11
      0
      Votes
      11
      Posts
      4899
      Views

      @Mahesh-Kumar-Kodanda said in QT 5.9 for i.MX6Q and Integrity RTOS build error - unrecognised command line option »-std=c++11«: cross compile tool chain For which device? You already use one- why do you ask me to provide one? A cross compile tool chain is not specific to Qt or any other framework/library but to a device.
    • SOLVED Problem with picking when QRenderSettings::renderPolicy is set to OnDemand
      General and Desktop • c++ qt3d qt5.9 picking • • iota142  

      2
      0
      Votes
      2
      Posts
      1450
      Views

      I have reported this issue on the Qt bug tracker. If someone is interested: https://bugreports.qt.io/browse/QTBUG-60738