Questions tagged [qt5.6]

Qt 5.6 is the LTS version of Qt released March 16, 2016. Tag this only for the issues specific for Qt 5.6 and not for other versions.

Qt 5.6 is long-term support (LTS) release - it will be supported for 3 years.

Qt 5.6 has been released March 16, 2016.

New features list can be found here.

Here is Qt 5.6 release plan.

144 questions
5
votes
3 answers

QT Creator on Win 10, "Failed to retrieve MSVC Environment"

QT's full error, which takes over a minute to appear while the GUI is unresponsive: :-1: error: Failed to retrieve MSVC Environment from "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat x86_amd64": The command…
PhilPhil
  • 173
  • 4
  • 18
5
votes
1 answer

QX11EmbedContainer alternative in Qt5

I need QX11EmbedContainer, but in new version of Qt 5.6 it dissapeared. Is there another alternative to QX11EmbedContainer that works/exists in Qt 5.6?
scastiello
  • 73
  • 4
5
votes
5 answers

How to make Qt Application mainwindow to remain always on top of other windows in Windows OS?

Platform - Windows 7,8,10 I have created a QApplication from QMainWindow. I want it to remain always on top of all other windows. I have used Qt flags ( Qt::WindowStaysOnTopHint ) to achieve this. But this Qt flag does not work. The application is a…
sunil_rbc
  • 772
  • 1
  • 8
  • 13
5
votes
1 answer

Qt: Unknown module(s) in QT: webview

I just installed Qt 5.6 with the "Qt Unified installer" provided by Qt. Before the installation started, I made sure, that the "WebView" option in the installer was ticked. Unfourtunately, there is no WebView for Windows in the Qt installation…
user2494129
  • 717
  • 2
  • 13
  • 24
5
votes
2 answers

How to get website content from QWebEnginePage?

I installed the newest version of Qt (on Webkit, Qt5.2 had WTFcrash). I try to get content of my website when the page is loaded (and it is): QString sHtml; view.page()->toHtml([&](const QString& result){sHtml = result;qDebug() << result;}); But…
kajojeq
  • 886
  • 9
  • 27
5
votes
2 answers

QWebEngineView crashes on load() or page() method

I'm working on porting a Qt 5.5, QWebView project to Qt 5.6 (beta), QWebEngine. I've gone through the porting guide here. My code looks like this: .h file defines _view like so: QWebEngineView* _view; and the .cpp constructor (class inherits from…
Vern Jensen
  • 3,449
  • 6
  • 42
  • 59
4
votes
0 answers

QDateEdit Select Section Text on Single Click

I have a QDateEdit with current date as default and the date format as "dd/MM/yyyy". When I click on the Month then the MM text should be selected. Also, when I click on the date edit the cursor position of the lineEdit() returns 0 as the cursor…
Helen
  • 41
  • 2
4
votes
1 answer

Qt 5.6 install issue

I am really new to programming and Linux and I want to install PCL. Now I want to install VTK and Qt 5.6. So I followed the steps on this site: http://www.vtk.org/Wiki/VTK/Building/Linux When I want to configure VTK I get this error: CMake Error at…
4
votes
1 answer

Custom circular progressbar in Qt

I'm able to do circular progressbar in qt while overriding paintEvent of the widget and draw circular progressbar but having a difficulty with the second circular progressbar (not able to draw like this) behind main circular progressbar: Can…
elgolondrino
  • 665
  • 9
  • 33
4
votes
1 answer

How to play mp3 file using QAudioOutput and QAudioDecoder?

I want to play a audio file to a specified device using QAudioOutput. It's ok with .wav files. But there are just buzzing when playing .mp3 files (.mp3 files are compressed files as I known, so QAudioOutput can not play it directely). I'm trying to…
aviit
  • 1,957
  • 1
  • 27
  • 50
4
votes
2 answers

QString split in Qt 5.6

QString strTest = "SHUT\nDOWN"; QStringList slstLines = strTest.split("\n"); In the above example I would expect the String list to contain two entries, but it only contains 1, which is the same as the strTest...why isn't split working? I've also…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
4
votes
1 answer

Can I set QT_AUTO_SCREEN_SCALE_FACTOR behavior via API?

Can I set the QT_AUTO_SCREEN_SCALE_FACTOR 1 behavior via an API call rather than by the environment variable? I want to detect if my Qt application is running on a high dpi screen, then set the scaling accordingly. I have tried to set it at the…
Horst Walter
  • 13,663
  • 32
  • 126
  • 228
4
votes
2 answers

Qt 5.6 alpha QtWebEngine. How work with QWebEngineUrlRequestJob?

I have inherited from QWebEngineUrlSchemeHandler. Redefined method requestStarted(QWebEngineUrlRequestJob *request) After I try to call QWebEngineUrlRequestJob::reply for example void CustomUrlSchemeHandler::requestStarted(QWebEngineUrlRequestJob…
Yury Bely
  • 91
  • 9
3
votes
1 answer

My custom widget is not shown in Qt Creator / Qt Designer but it is shown when I execute the program

I would like to have a QTabWidget with a tab containing a custom widget. I created a custom Widget (consisting of a .ui, .h and .cpp file) I added this custom Widget to the first page of my QTabWidget, but the content of this Widget is not shown…
John Smith
  • 45
  • 3
3
votes
0 answers

Difference between Qt's QML JS engine on Mac and Windows

I have upgraded my project from Qt 5.6.2 to Qt 5.9.4 Had a couple of issues on mac when I tried to build for the first time with the new Qt version, but nothing major. I have merged these changes and switched to Windows in order to try to build my…
Silex
  • 2,583
  • 3
  • 35
  • 59
1
2
3
9 10