Questions tagged [qt5.10]

Tag this only for the issues specific for Qt 5.10 and not for other versions.

Qt 5.10 was released 7th December 2017. Announcement is here.

New features list can be found here.

24 questions
46
votes
12 answers

Qt Creator Android error "Platform SDK installed"

I am developing Qt Cross platform application for Android, recently i have updated Qt creator and Installed new Qt version. I am using 'Qt Creator version 4.5.0'. I have updated to 'QT version 5.10'. This Set up is done on Ubuntu 16.04. Followed…
Swapnil
  • 2,409
  • 4
  • 26
  • 48
9
votes
2 answers

Qt's QFontMetrics::horizontalAdvance() missing for Code Editor Implementation

I'm implementing a code editor for a simple scripting language and have been using the Qt Code Editor Example (http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html) as a guide for implementing a QPlainTextEdit with line numbers. The…
Andreas H.
  • 1,757
  • 12
  • 24
9
votes
3 answers

Qt Creator "too big" on 3840x2160 and 150% scaling on Windows 10

I installed Qt 5.10 SDK on Windows 10. I thought that the HiDPI issues were fixed in Qt 5.6, but Qt Creator still seems to be "too big": Am I missing something? My resolution is 3840x2160 with the "recommended" 150% scaling. Visual Studio in the…
juzzlin
  • 45,029
  • 5
  • 38
  • 50
4
votes
1 answer

Qt 5.10 semi-transparent background on QMainWindow using stylesheet

I would like to set my QMainWindow class semi-transparent background using QMainWindow::setStyleSheet method. I do something like: QMainWindow window; window.setWindowFlags(Qt::Window |…
Fryderyk
  • 61
  • 1
  • 7
4
votes
2 answers

How to change the default Qt version?

I am trying to build a program and need Qt 5.10. When I run qmake -v I get: QMake version 3.0 Using Qt version 5.6.2 in /home/greg/anaconda2/lib When I run qtchooser -list-versions I…
Gregory Smitherman
  • 417
  • 3
  • 8
  • 16
3
votes
4 answers

Can I build chromium with ffmpeg to support all video formats?

Under version Qt5.2, I used QtWebView, it can call third-party extensions automatically to support video formats such as avi, mpeg, mov and flv. But when I upgraded to Qt5.10 and changed QtWebView to QtWebengineView, it worked differently and I…
Ray
  • 61
  • 1
  • 1
  • 4
2
votes
1 answer

Qt stream control transmission protocol (sctp)

I am attempting to run the qt examples multistreamserver & multistreamclient, which rely on the QSctpServer & QSctpSocket. I receive errors "QSctpSosket does not name a type" and "invalid use of incomplete type 'class QSctpServer'" What is going…
Ian Zurutuza
  • 588
  • 5
  • 16
2
votes
3 answers

Avoiding Timeout on QSerialPort when handling high speed data

I'm working on a windows application that receives data from a sensor at 600Hz. In two out of five cases, my IO thread reads the 4 bytes of data from the sensor successfully and passes it on to the GUI thread. The problem is three out of five…
Galaxy
  • 210
  • 4
  • 15
2
votes
1 answer

QML RTSP Stream from a network camera

I have a question about the RTSP Stream. How can I display a RTSP Stream from a netwok camera in qml? the settings: Qt5.10 Camera: LunaIP L-DA-5203-V2 OS: Windows 7 Things I have tested: QML: Camera, MediaPlayer, VideoOutput Until now I didn't…
user8058766
2
votes
1 answer

Qt's FileDialog defaultSuffix not functionning

I'm using the following code to the new property of the filedialog under QtQuick.Dialogs 1.3 & Qt 5.10.0. I've build it using Qt Creator 5.10 default kit. import QtQuick 2.10 import QtQuick.Window 2.2 import QtQuick.Dialogs 1.3 Window { …
2
votes
2 answers

How to set OffTheRecord profile for QWebEngineView?

How to setup OffTheRecord profile for QWebEngineView? I use QT5.10 for Linux. I am going to use it in embedded environment with read-only filesystem and I need to prevent WebEngine writing files and creating folders in filesystem. #include…
1
vote
1 answer

It is possible to install qt 5.10 with qt creator 7+?

I've to recreate a work environment in a new pc and I would like to use the newest Qt Creator to work on a project that was developed in 5.10 but the maintenace tool does not allow to select that version: I'm currently using windows 11, should I…
Matteo
  • 1,107
  • 2
  • 27
  • 47
1
vote
1 answer

Qml - c++ signal parameters "undefined" in qml

I receive a signal from a worker thread and re-emit it via C++ Singleton (CTaskManager) to qml. void CTaskManager::runAsync(CTask* task) { Q_CHECK_PTR(task); QThread* thread = new QThread(); task->moveToThread(thread); …
1
vote
1 answer

Parse unnamed JSON Array from a web service in Qt

I am trying to parse this JSON from a web service. [ { "word": "track", "score": 4144 }, { "word": "trail", "score": 2378 }, { "word": "domestic dog", "score": 51 …
Dut
  • 39
  • 8
1
vote
1 answer

Qt Application becomes windows-old styled after build on a buildbot

I started the migration from Qt 5.6 to 5.10.1 and faced with this problem. On 5.6 ver the style was "windowsvista" and all works well. Now it looks like Qt can't detect this one and use "windows" style. Moreover, on my PC, the build of 5.10.1…
1
2