Questions tagged [qt5.8]

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

Qt 5.8 was released 23rd January 2017. Announcement is here.

New features list can be found here.

58 questions
0
votes
0 answers

Qt 5.8 compile issues with std::chrono

I am developing a Qt application on Ubuntu 17.04. I was previously using the latest Qt version (Qt 5.12.2) but I had to go back a few versions to Qt 5.8. I was able to compile with using Qt 5.12 with no issues but with Qt 5.8 I get the following…
Ankur Shah
  • 125
  • 12
0
votes
0 answers

VBO compatibility with OpenGL 4.1 and 3.0

I have an application displaying some 3D rendering. I encounter some graphical problems with VBO, when integrating my application on different user's laptops. Vertex Buffer Object work perfectly fine in out development stations First laptop embeds a…
Quentin Tealrod
  • 309
  • 3
  • 14
0
votes
1 answer

ChildrenRect always returns 0

I have a Flickable item in where I want to put a customized flow component, so I created the Flickable like this: import QtQuick 2.0 import UICore.Layouts 1.0 as Layouts Flickable{ anchors.fill: parent; contentWidth: parent.width; …
Felipe Centeno
  • 2,911
  • 1
  • 21
  • 39
0
votes
1 answer

calling qSort on a an array using Qt qSort()

I have a dynamic array. int* array = new int[size] I am using the Qt library to develop an application in C++11. Can I use qSort from QtAlgorithms.h on it this way: qSort(array, array+size-1) I am not sure since the arguments require a type of…
marc
  • 797
  • 1
  • 9
  • 26
0
votes
1 answer

Why my Qt signal is not processed by the event queue?

Quick description of the situation I am trying to have a minimal GUI starting an endless process that communicates over a custom protocol over a CAN bus. Based on what I have read here, I structured my code as follows: I have on one hand a class…
PlikPlok
  • 110
  • 9
0
votes
1 answer

QT QGraphicsView Zoom in, Zoom out Issue

My work Environment : Qt 5.8 MSVC2015 64bit, QT GraphicsView, Windows 7 64 bit I have derived my class as below : class MainWindow : public QMainWindow class mySquare : public QGraphicsRectItem class GraphicsView : public QGraphicsView class Scene :…
Sandip
  • 51
  • 11
0
votes
1 answer

QSerialPortInfo debug crash visual studio 2015 + QT5.8

I am using QT5.8 and visual studio 2015 on win10 to control a serial port. The following minimal code crashes in visual studio (but only in debug, release works fine) after the visualization of the messages, so when the object QList infos is…
0
votes
1 answer

Qt 5.7 -> 5.8 add QIcon to QListwidget

I want to upgrade my project from Qt 5.7 to Qt5.8. I have a function which shows an image on a QListWidget. My project, a viewer makes a thumbnail from image and convert it to a QIcon. After creating the QIcon it is added to the QListWidget by…
0
votes
2 answers

QT failed to load Image from Buffer

My work Environment : Qt 5.8 MSVC2015 64bit, QT GraphicsView, Windows 7 64 bit I am loading image from buffer (a demon process is going send a image buffer), but it failed to create image with buffer. QFile file("D:\\2.png"); if…
Sandip
  • 51
  • 11
0
votes
1 answer

QListView refuses to show subclassed QAbstractListModel

I am trying to get a custom ListModel to work and to be displayed in PyQt. However the list view always ends up blank. I checked that UserModel.users does have the items in it it should have, and dataChanged fires properly, however nothing shows…
Whitecold
  • 281
  • 1
  • 3
  • 8
0
votes
0 answers

Qt 5.8 - SQLite database created/opened when using Qt Creator to run application, but not when deployed with windeployqt

My Qt C++ project involves dynamically creating and working with SQLite databases. I'm encapsulating everything to do with the databases inside a class called Database. Here is my method to either create a database file if it doesn't exist, or open…
0
votes
1 answer

PyQt static build fails at make

I have commercial licenses for Qt and PyQt, and am attempting to build static versions of all required software for generating a standalone, executable program that I'm currently writing using Python3 and PyQt. I plan to build natively using…
Chris5745
  • 1
  • 3
0
votes
0 answers

Unable to debug Qt 5.8 application under MacOs 10.12 - app crashes with "lazy symbol binding failed"

Application build with "release" settings in QtCreator builds and runs fine. Building / running the code with "debug" fails at startup of application with the following error on console and crash report. Build Info: Qt Creator 4.2.2 Based on Qt…
MKO
  • 31
  • 4
0
votes
0 answers

QNetworkCookieJar Segmentation Fault (QT 5.8)

when i set cookie jar to my Network Manager i'm getting SIGSEGV, how should i set cookiejar to my network manager ?//I'm Using QT5.8 on Windows 10 With Mingw PS :i've tried many examples but i've got same results. Class File : #include…
Koorosh Ghorbani
  • 507
  • 4
  • 14
0
votes
1 answer

How to use createWindow in my code [Qt5.8]

In the following code , when new tab or window is requested by the site then it doesn't prints anything . How do I make my code working ? Please Help , I am too confused . Thanks ! class WebView:public QWebEngineView{ protected: QWebEngineView*…
learner
  • 3
  • 2