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
2
votes
2 answers

Qt5.6 set application icon (Linux)

I am developing an application for RedHat 7.2, with Qt5.6. My resource file 'qrc': lw-3.png I want to set-up the application to use…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
2
votes
1 answer

Detect statically added QML children from c++

QML code: MyItem { Item { id: exampleChild } } c++ code: class MyItem : public QQuickItem { Q_OBJECT private: void QObject::childEvent(QChildEvent* event) override { qDebug() << "This is never fired when…
Ayberk Özgür
  • 4,986
  • 4
  • 38
  • 58
2
votes
2 answers

How to make svg icons crisp again in Qt 5.6 on high DPI screens

Upgrading from Qt 5.4 to Qt 5.6 made all my .svg icons blurry/pixelated. I noticed this happens only on high density screens like on my MacBookPro Retina Display. I read the documentation of High DPI support in Qt 5.6 and I have set the…
Silex
  • 2,583
  • 3
  • 35
  • 59
2
votes
1 answer

QFontMetrics boundingRect

I'm having problems with the QFontMetrics 'boundingRect' function, it doesn't return the correct results. mfntArial = QFont("Arial", 12, QFont::Bold); QFontMetrics objMetrics(mfntArial); QRect rctLine =…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
2
votes
2 answers

How to append new ListElement in QML?

So, I need a button that would add a new ListElement to existing list. I need to fill in one value, taken from TextField. I have no idea how to do this. I tried something…
Marcin Plebanek
  • 121
  • 1
  • 7
2
votes
6 answers

QSqlDatabase: QMYSQL driver not loaded on Ubuntu 15.04 64bits

In Ubuntu 15.04 64 bits I installed Qt5.6 (online installer) and while trying to move my development environment from Windows 7 to Linux I faced the following: SqlDatabase: QMYSQL driver not loaded Following this, I managed to find …
KcFnMi
  • 5,516
  • 10
  • 62
  • 136
2
votes
1 answer

QT5.6 how to use new dock features?

http://blog.qt.io/blog/2016/03/16/qt-5-6-released/ says: Our dock widget infrastructure has seen quite some improvements, making it possible to programmatically resize docks, drop dock widgets into floating docks and re-arrange tabbed docks. I…
IceFire
  • 4,016
  • 2
  • 31
  • 51
2
votes
3 answers

Zoom feature for QWebEngine does not work

I created simple project for displaying local .html page. I used Qt5.4 with QWebView there. But after switching to Qt5.6 I noticed that Qt WebKit is deprecated and not supported any more. Thus I decided to replace Qt WebKit functionality with one…
Vasyl
  • 404
  • 1
  • 6
  • 19
2
votes
1 answer

installing CGAL with Qt5 on mac os el capitan failed

I am trying to install CGAL 4.7 with Qt5 on Mac Os El Capitan. After a cmake in the build directory the configuration is the following : -- The CXX compiler identification is AppleClang 7.0.0.7000176 -- The C compiler identification is AppleClang…
2
votes
3 answers

failed to Cross compile Qt 5.6 on RPi 2 (fatal error: bcm_host.h: No such file or directory)

I try to cross compile Qt 5.6 for RPi 2 by following this tutorial https://wiki.qt.io/RaspberryPi2EGLFS but I got this error qeglfsbrcmintegration.cpp:35:22: fatal error: bcm_host.h: No such file or directory #include
Hamed
  • 31
  • 2
  • 4
2
votes
1 answer

How to fix QT VS Add-in for Qt 5.6 beta and VS2015?

I did not compile Qt myself, rather I used installer from official Qt website (5.6 beta is available since few days ago). Installation was successful, Qt folder conatins bin folder with qmake and everything. Building apps in Qt Creator works.…
michnovka
  • 2,880
  • 3
  • 26
  • 58
1
vote
1 answer

how to create a qt QTButton with multiple colors?

I am looking for how to create a QT button with multiple color in background color. Button should look like this
Fadi Heart
  • 11
  • 4
1
vote
0 answers

Active Qt bug when I use a Web Browser

I'm using Active Qt in the goal to show a Web Browser inside my qt application. I can show a Google Map page inside a Tab. It uses an ActiveX-based component with an Internet Explorer Browser inside. Everything is ok but when I resize the windows…
John Smith
  • 45
  • 3
1
vote
1 answer

why are different treeItems linked to the same data

I have been trying to copy a treeitem to another location in the tree view along with its sub tree. Finally i have been able to to move all of them successfully. Header file for treeItem class TreeItem { public: explicit TreeItem( Container…
user8028736
1
vote
0 answers

Porting to Qt5.6 or advanced causes application to use ANGLE instead of OpnelGL 3.x and causes black screen instead of rendering actual image

I have recently ported our application from Qt5.5 to Qt5.12.1. On i5 processor Windows 10 the application runs fine. However on i3 Windows 10 Pc's we get a nothing but a black screen. The application runs fine on i3 Windows 8 though. On further…