Questions tagged as 'qt'

1
answer

c ++ - How to pass parameters between windows in Qt? [closed]

Hello, I'm trying to pass a Mat parameter from one window to another, being activated by the click of a button. The program normally compiles and executes, but when clicking the button that activates the event, the program of a chrash in the exe...
asked by 28.08.2016 / 00:54
1
answer

Signal and SLOT C ++ with QT [duplicate]

I'm developing software in c ++ that captures images from WebCam, before I used OpenCv but received an error from Undefined symbols for architecture x86_64 Until I opened a topic here and no one knew how to answer the error. Give up using O...
asked by 28.06.2015 / 17:21
1
answer

Stopwatch with wrong timing

I have a QtSDK timer, but when it starts time goes absurdly faster than normal . Here is the code below: QTime time; QTimer timer; void PlanejamentoWidget::timeUpdate(){ QTime t = ui.timeEdit->time(); ui.timeEdit->setTime(t.add...
asked by 23.02.2015 / 16:46
1
answer

How to close the application console?

I run this program with the executable, but it does not close the console that remains open after executing, how to do this?     
asked by 17.06.2014 / 22:39
1
answer

Update a ComboBox after opening QDialog

How do I update a ComboBox after opening a QDialog? The code below does not update if you have made an update to db. I have to close the application and open it to show the new data: Dialog::Dialog(){ carregar_comboBox(); } void Dialog::...
asked by 29.03.2014 / 19:08
1
answer

How can I find the name of the gpu and cpu in qt c ++

Any of these solutions work for me, first I tried a system management code to try to find the name of the gpu and cpu, but of that error for me in visual studio, the compiler does not seem to accept the clr, and I'm using qt in the project with...
asked by 05.12.2018 / 17:17
0
answers

How to change the contents of a window in PyQT 5?

I'm using PyQT 5 to develop a user interface and I'm having a question: how do I change the contents of an area within the main window? I want to do this because I do not want to have to create a new window every time I want a different layout. T...
asked by 25.09.2018 / 01:38
0
answers

How to get a QByteArray video using the QML version of CameraRecorder?

Is it possible to get a QByteArray from a CameraRecorder document? I did not find anything like that. Would it be more appropriate to use OpenCV or some specific library? It's important for me to work on Android and iOS. Thanks in advance!     
asked by 16.09.2018 / 06:26
0
answers

Qt - Perform an action when a dialog is loaded

I have an application that is used to manage a barracks in my city, on the sniper register screen I would like to check first if there is a group registered in the database, if I do not close the dialog, I tried to do this way: void CadastrarA...
asked by 07.09.2018 / 14:42
0
answers

How to maintain the source in Qt5 when DPI increases

I'm having problems when I pass my UI to a user who has a different windows visual configuration than mine. If the user's display is at 125 or 150% my UI gets huge fonts in the labels while the other widgets become standard. I wanted to keep the...
asked by 11.05.2018 / 16:13