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

Upgrading Qt5 to version 5.6.2 throws error

I recently updated my ubuntu system and Qt5 library was updated to version 5.6.2 I had an existing ui file which was being used in my python file as : class Window(QtWidgets.QMainWindow): def __init__(self): …
fireball.1
  • 1,413
  • 2
  • 17
  • 42
0
votes
0 answers

I cannot implement thumbnail view on qlistview class

I am trying to build an application where I will select a directory (using qtreeview model based widget) and upon the selection of a folder, its containing image files will be shown in a qlistview model based widget (& later perform tasks after…
Protik
  • 53
  • 1
  • 9
0
votes
1 answer

Q_PROPERTY compilation error

My work Environment : Qt 5.8 MSVC2015 64bit, Windows 7 64 bit. I am calling C++ method from java script successfully. But failed to get return value of C++ method in JavaScript. So I try to use Q_PROPERTY to get return value of C++ method in…
Sandip
  • 51
  • 11
0
votes
1 answer

How to use QTableWidgetItem text to translate a language translation in QT

QTableWidget* table = new QTableWidget(); QTableWidgetItem *tw_1 = new QTableWidgetItem(); tw_1->setText(QObject::tr("Table Name")); table->setItem(0,0, tw_1); ru.ts file QTableWidgetItem
Senthil Kumar
  • 562
  • 1
  • 6
  • 14
0
votes
1 answer

How to use Ampersand string using in Language translation in QT

QString = "Command && Profile"; ru.ts file Command & Profile Команда и профиль Using translation this method will not working.. This…
Senthil Kumar
  • 562
  • 1
  • 6
  • 14
0
votes
2 answers

Understanding QML Slider

I am doing a simple slider project just to understand how sliders work in QML. I am using the slider from Qt.labs.controls I looked at their documentation and there are only two methods. void decrease() and void increase() All I want to do is…
Shravan Singh
  • 89
  • 2
  • 10
0
votes
1 answer

QML StackView replace nothing to push

how to correctly switch between pages according following samples: import QtQuick 2.6 import QtQuick.Layouts 1.0 import Qt.labs.controls 1.0 ApplicationWindow { visible: true width: 640 height: 480 title: qsTr("Hello World") StackView { id:…
user3453753
  • 357
  • 4
  • 15
0
votes
0 answers

QWebEngineView constructor silently exits

For a Windows computer without the necessary OpenGL capabilities, trying to create a QWebEngineView object silently causes the process to exit(). There is no error message, no exception, but just an exit. My question is how to catch this condition…
Dov Grobgeld
  • 4,783
  • 1
  • 25
  • 36
0
votes
0 answers

QProgressDialog when setValue(0) is called

I have a class that is inherited from QProgressDialog. It sometimes crashes and its inside QProgressDialog class code. I detected that when the setValue(0); is called in its constructor, crash happens. When I commented out this function, It does not…
Wilmort
  • 294
  • 2
  • 15
0
votes
1 answer

QML scoping within StateMachine and State

I read the doc about QML scoping. By this doc the following is allowed (under Component Instance Hierarchy second example from the above doc): My StateMachine (BaseStateMachine.qml): import QtQuick 2.5 import QtQml.StateMachine 1.0 as…
Silex
  • 2,583
  • 3
  • 35
  • 59
0
votes
1 answer

QPropertyAnimation for the "visible" Property of QWidgets only works one way

I have a task were I need to execute a sequence of PropertyAnimations. One of the animations is changing the visibility of a QWidget. When I try to hide it, it works perfectly fine: QPropertyAnimation *pAnim = new QPropertyAnimation(pWidget,…
0
votes
1 answer

QT: building WinExtras

I'm trying to compile a static build of QT 5.6.1 from source on Windows. To do this, I'm issuing the following commands: Configuration command: configure.bat -static -static-runtime -debug-and-release -platform win32-g++ -qt-zlib -qt-pcre -qt-libpng…
Master_T
  • 7,232
  • 11
  • 72
  • 144
0
votes
1 answer

QRegExp does not match even though regex101.com does

I need to extract some data from string with simple syntax. The syntax is this: _IMPORT:[any text] - [HEX number] #[decimal number] Therefore I created regex you can see below in the code: //SYNTAX: _IMPORT:%1 - %2 #%3 static const QRegExp…
Tomáš Zato
  • 50,171
  • 52
  • 268
  • 778
0
votes
1 answer

Qt QString lastIndexOf not working

I'm using Qt5.6, I'm trying to use the QString function lastIndexOf. The subject data contains something like: 156 + (28 * 4) + (14 * 9 * 2) Using indexOf: int intOpB = strLocalCopy.indexOf(ucOpenBracket); strLocalCopy contains the…
SPlatten
  • 5,334
  • 11
  • 57
  • 128
0
votes
1 answer

(Qt 5.6) Program cannot find .txt file when switching to "Release" mode

I have coding in IDE: Qt Creator 5.6 (Open source). In my program, I have to read a .txt file due to run. This .txt file is located in my Build folder. The .txt path is: "./config/values/Login.txt". When I run in Debug mode everything is fine.…
andseg
  • 658
  • 1
  • 9
  • 26