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

Access QML StackView from a control

Sorry for probably a stupid question - I'm very new to QML. One of my StackView's pages: Page { id : root header: ToolBar { BackButton { anchors.left: parent.left } } } BackButton…
Alexander Dyagilev
  • 1,139
  • 1
  • 15
  • 43
0
votes
0 answers

Compiling static Qt for Windows can't open include file

I've been trying to get a static build of Qt 5.7 together so I can start compiling an application statically on Windows, but it's been a bit of a slog. I've got most of the process working - except it is complaining about not being able to include a…
HorusKol
  • 8,375
  • 10
  • 51
  • 92
0
votes
1 answer

QProcess with CreateNoWindow

In C# there is an attribute which enables application to run 3rd party apps without showing the app window. Is there any way to run a console application without showing the console window in QT without using Win32 CreateProcess function?
Koorosh Ghorbani
  • 507
  • 4
  • 14
0
votes
2 answers

Why does some widgets don't update on Qt5?

I am trying to create a PyQt5 application, where I have used certain labels for displaying status variables. To update them, I have implemented custom pyqtSignal manually. However, on debugging I find that the value of GUI QLabel have changed but…
Himanshu Shekhar
  • 318
  • 9
  • 15
0
votes
1 answer

QProcess Wrong Behavior

My application runs different bash files when i run my application under QTCreator everything works fine but when i run my application directly i cant read the QProcess output . even when i run my application via Terminal it works fine , so where is…
Koorosh Ghorbani
  • 507
  • 4
  • 14
0
votes
1 answer

Qt 5.7 QDockWidget default size

I am trying to have following setup: at start (when main window is opened) I want to have 2 QDockWidgets at left with width 400px and height 1/2 (each) of QMainWindows height. At the left, 3 QDockWidgets with width 400px and height 1/3 (each) of…
carobnodrvo
  • 1,021
  • 1
  • 9
  • 32
0
votes
0 answers

Qt application in task bar but does not start

The application in question was written using Qt 5.7 and in VS2015. A strange problem cropped up last week and I am desperately trying to sort this out. We have enough logging I thought but does not look like it. Then again this problem was seen…
Vivian Lobo
  • 583
  • 10
  • 29
0
votes
0 answers

Qt Mac OS X: using QMAKE_BUNDLE_DATA and/with custom targets

I'm dealing with a build problem for my Qt desktop application. I'm using QT 5.7. As far as I know, for qt mac applications, I need to use QMAKE_BUNDLE_DATA to bundle all the resources into the .app, so I used it. I also defined custom targets for…
Ispas Claudiu
  • 1,890
  • 2
  • 28
  • 54
0
votes
0 answers

Video is not smooth OpenCV 2.4 and Qt 5.7

I am struggling with writing a video player which uses OpenCV to read a frame from video and display it in a QWidget. This is my code: // video caputre is opened here ... void VideoPlayer::run() { int sleep = 1000 / static_cast
carobnodrvo
  • 1,021
  • 1
  • 9
  • 32
0
votes
2 answers

QObject::connect: Cannot queue arguments of type 'QModbusDevice::State'

I'm developing a multithreaded application, I need to instantiate n devices by modbus. So I created a controller (ServiceSM) that instantiates N threads (ServiceSlots). The devices are varied so I had to create "drivers" for each type of device, one…
Diógenes
  • 11
  • 1
  • 4
0
votes
1 answer

Can I use QUdpSocket to conect with QTcpServer?

I am super new to the networking world, so I have a QTcpserver that's currently working with the newConnection signal, but I was wondering if I could use QUdpSocket with a QTcpServer ? It's this possible at all ?
SSM89
  • 333
  • 1
  • 3
  • 10
0
votes
1 answer

What am I doing wrong when making this shortcut?

I'm using QT and I have a QAction, which I want to use Cmd and Plus as a shortcut to zoom in. I've found out that QKeySequence::ZoomIn will map to that, and other native key combinations for zooming in on other types of keyboards. I've used the code…
Jon
  • 495
  • 2
  • 9
  • 22
0
votes
1 answer

How to get Qt Enterprise Add-ons or Qt modules from the EnterpriseAddOns?

I want to use QtDataVisualization. The following installation guide says that The module can be found under Qt Enterprise Add-Ons in the package manager. ... The source code is installed into the QtDataVisualization folder under…
goulashsoup
  • 2,639
  • 2
  • 34
  • 60
0
votes
1 answer

QML WebView component is not ready

main.qml: ApplicationWindow { visible: true visibility: "Maximized" title: "My title" WebView { id: webView objectName: "webView" anchors.fill: parent url: initialUrl } } main.cpp: QQmlApplicationEngine…
Alexey Savchuk
  • 1,068
  • 6
  • 13
  • 26
0
votes
1 answer

How to initialize stdout stdin with Qt 5.7

I noticed something with qDebug() QTextStrean and generally stdin, stdout wanna ask, how it works actually, see this: THIS WORKS! method showmenu() using QTextStream showMenu(){ QTextStream m_out(stdout); QTextStream…
user7031116