Questions tagged [qt5.7]

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

Qt 5.7 was released 16th June 2016.

New features list can be found here.

109 questions
1
vote
0 answers

After Powershell New-NetIPAddress, icmpSendEcho2 returns 0, GetLastError returns 0

Using QT5.7.0, after executing a Powershell command New-NetIPAddress, waitForFinished () and then using icmpSendEcho2 returning 0, I get a return value of 0 when calling GetLastError 0, what can cause this behaviour? I am using a 64bit Windows 10 OS…
Eggi
  • 170
  • 1
  • 15
1
vote
0 answers

qt creator output give QOpenGLShaderProgram error in x86 Android emulator

I have an Android program written QT/QML , When I deploy app to Arm Android Emulator , it works. But If I Deploy app to x86 Andorid Emulator, program is work but , Screen is white . There is no component to display. Application output is : ....…
DJ.Yosemite
  • 285
  • 4
  • 13
1
vote
1 answer

QThread base class not appearing

I've installed Qt 5.7 on Windows (8.1). I'm not getting QThread option (as a base class) while I try to add a new class to a project? What could be the reason?
Aham
  • 49
  • 1
  • 8
1
vote
3 answers

A strange reading excel error with Qt

In my project, I'm trying to read a excel file. However, strange things happened. When I open excel visibly, it will execute correctly. While when I set it invisible, it will not open my file. Qt Version: …
P.N. Lee
  • 31
  • 4
1
vote
0 answers

Qt QWebEnginePage printToPdf malformed table after page break

I print a html site with the QWebEnginePage to pdf. I have big Tables. But after a page break, it looks like this: I´ve tried some varients with css like: Link1 Link2. But every time it looks like the Image. Is there any method to display the…
mathisloge
  • 91
  • 1
  • 9
1
vote
0 answers

QML ListModel showing duplicate keys

While appending objects to the ListModel, a key is showing 2 times. Here's my code: import QtQuick 2.0 import QtQuick.Window 2.0 Window { visible: true width: 640 height: 480 ListModel { id: modelCategory …
Husni Abdul Nazer
  • 103
  • 1
  • 1
  • 12
1
vote
0 answers

use QT with DLL compiled with -MT crash

I compiled QT dynamic with -MT( modify config file ) my code is like this( my program is release mode with MT too ): int main( int argc, char *argv[] ) { int ret = 0; if( 0 == ret ) { QApplication a( argc, argv ); { …
高海辉
  • 11
  • 1
1
vote
3 answers

Parse nested JSON with QJsonDocument in Qt

I am interested in seeing how we can use Qt's QJsonDocument to parse all entries from a simple nested JSON (as I have just started studying this). nested json example: { "city": "London", "time": "16:42", "unit_data": [ …
user6167676
1
vote
1 answer

QML: Garbled text with colorful pixels around it on Intel GPU

Screenshot of one of the Qt Creator example apps: My videocard is a Mobile Intel(R) 4 Series Express Chipset Family. Any idea what the problem might be?
Stefan Monov
  • 11,332
  • 10
  • 63
  • 120
1
vote
1 answer

QVariants with QStringList comparison

I'm having weird observations when comparing QVariants with QStringLists inside. Code: QStringList l1, l2; l1 << ""; l2 << "33" << "434"; const bool le = l1 < l2; const bool ge = l1 > l2; const bool eq = l1 == l2; QVariant v1(l1), v2(l2); const…
Michał Walenciak
  • 4,257
  • 4
  • 33
  • 61
0
votes
0 answers

QT in Visual Studio 2015 - Auto generated moc files contain #errors

I have tried to open and compile an old project in visual studio 2015 (with QT 5.7.1). The project had been implemented with visual studio 2008 and QT 4. I have do all necessary things (changed QT include paths, link *.dll versions etc). Thereafter…
0
votes
1 answer

QWebChannel: crash on construction when running outside of QtCreator

When I try to run my programm outside the QtCreator, the code crashes, when new QWebChannel(this) is called. I already checked DLL dependencies, but can't find the difference between running it from within the IDE and outside of it. MyView::MyView()…
Myon
  • 937
  • 13
  • 23
0
votes
1 answer

how to remove qt keyboard support for qtwebbroser from qt5.7

I am using yocto morty version qt5.7 and qtwebbrowser. now I want to remove keyboard support in qtwebbrowser. I have opened qtwebbrowser_git.bb and removed RDEPENDS_${PN} ="qtvirtual keryboard" compiled successfully but when i run the qtwebbrowser…
yoctotutor.com
  • 5,145
  • 4
  • 26
  • 36
0
votes
1 answer

vtk file opening gets (core dumped) after building paraview with cmake

Dear stackoverflow team, I recently compiled paraview from source on ubuntu using the following build instructions, however I get core dumped when opening any *vtk,*exodus file. #! /bin/bash export CC=mpicc export CXX=mpicxx export FC=mpif90 export…
Pablo
  • 23
  • 4
0
votes
2 answers

QGeoCodingManager gives no errors but no results

I am trying to get a QGeoLocation. My version of Qt is 5.7.1, btw, and I am running it on Debian. I saw this post how to get latitude/longitude from one geo address using Qt c++ on windows? I copied and pasted the working solution from Scheff's…
dspb5
  • 3
  • 2