Qt is a cross-platform application development framework widely used for the development of GUI programs.
0
votes
0answers
8 views
Weird behavior of qml when switching the view between Image and Camera
Trying to switch the view between camera and image, but the results are pretty weird
ToolBarTest.qml
import QtQuick 2.0
Item{
id:root
height: 800; width: 144
signal fullScreen()
...
0
votes
0answers
10 views
Simple TCP communication over Wifi too slow (seconds lag)?
I'm trying to control a robot wirelessly through an Arduino (using a X360 controller on a computer), which requires very low latency. I chose Wifi for this reason (and the fact I'll be streaming ...
0
votes
0answers
12 views
QWizard::setDefaultProperty and QWizard::registerField
I am trying to figure out some errors I get during runtime using the functions in the title. The errors are:
QObject::connect: Use the SIGNAL macro to bind QRadioButton::toggled
QObject::connect: Use ...
2
votes
1answer
35 views
When returning a collection pointer, how does the client know if it needs to destroy it?
Say for instance I have the prototype:
QList<Foo *> *methodBar(int someParam);
This method returns a QList pointer to the client code - how does the client code know if it needs to destroy ...
0
votes
2answers
21 views
QFile doesn’t create the file
I am writing a simple program. The program has 2 QStrings set with following variables: path and name of file, there is a 3rd QString which I later on use to put the result of the append of the first ...
0
votes
0answers
9 views
dock widget loaded from separate ui file to main window
I'm building an application using PySide and would like the ability to load widgets from separate .ui files. below is some code I've tried out but it wont let me dock the dock widget loaded separately ...
0
votes
0answers
18 views
SYSTEMTIME in qt
I am a bit stuck at the moment with a little sample project that I would like to run to test some cryptology that I want to use in a main project.
Basically I am using the latest Qt Creator and I ...
4
votes
2answers
26 views
Does it make any difference, using public slots instead of private slots in Qt?
I know this is a silly question. But when I am curious about it, I can not find reference info in the Qt`s docs.
In C++, 'public' means thet the members are accessible from anywhere where the object ...
1
vote
1answer
16 views
What could cause qmake not to see files included by DEPENDPATH?
I have a .pro file:
INCLUDEPATH += $$PWD/../somefolder/ \
DEPENDPATH += $$PWD/../somefolder/ \
SOURCES += some_file.cpp \
And I get an error:
:-1: error: No rule to make target `some_file.cpp', ...
0
votes
0answers
5 views
QDBusAbstractAdaptor object does not export implemented dbus interface
I'm trying to implement a pairing agent for BlueZ v5.5 with Qt and its DBus functionality.
I have an adaptor class that is generated by the qdbusxml2cpp tool that I called PairingAgentAdaptor and a ...
0
votes
2answers
38 views
glReadPixels invalid use of member (did you forget the '&' ?)
whay do I get this error when I attempt to execute this qt opengl code?
// 4 bytes per pixel (RGBA), 1x1 bitmap
QVector<unsigned char> pixels( 1 * 1 * 4 );
glReadPixels( x, height - ...
0
votes
1answer
13 views
PyQt: application unexpectedly leaves main loop
I have a simple PyQt application, which has a tray icon and can be hidden from taskbar by clicking close button or tray icon. Application can be closed from tray icon context menu. After user clicks ...
0
votes
1answer
22 views
Qt Layout Flexible Grid
I have a bunch of buttons in Qt with a fixed size. Now I want to create a layout in which they are shown in a grid. I want the grid to be scrollable and when I resize my mainwindow, the grid should ...
0
votes
1answer
15 views
Arranging pyqt combobox in toolbar
I have made a toolbar in qt designer with a few buttons. I have found some answers on stack that say you can not add a combobox in qt designer. With this I found an example of adding it manually. ...
0
votes
1answer
10 views
How to gray-out/have invisible elements with PySide?
I'm writing a interface with PySide and I want some elements of the interface to be grayed-out/invisible/unaccessible until another action has been performed(no sense in counting the words in a file ...