Questions tagged as 'qt'

1
answer

What is the difference between Debug and Release mode?

I started to get the error: "Microsoft C ++ runtime error library". And I got a lot of trouble trying to fix this error. I was using Qt Creator with mingw32 in debug mode , but I realized that this mode depends on many compiler DLLs. I kn...
asked by 30.08.2016 / 17:47
1
answer

How to block the resizing of a widget / window?

I'm setting a particular widget according to the size of the secondary monitor. This I was able to do perfectly. However, since I'm new to PyQt, I'd like to know how to block the resizing of the window. I mean, I want the user not to be ab...
asked by 17.10.2016 / 18:14
1
answer

How to leave a transparent window using Qt?

I'm developing a college job at Qt . I would like to make the background of my application transparent. I researched a little and the function I found was: this->setWindowOpacity(0); However, Qt applies opacity to the entire...
asked by 15.05.2014 / 08:08
1
answer

How to use QVectorQVector double as array?

In mainwindow.h I have: private: QVector<QVector<double> > numbers; //Variável que será minha matriz public slot: void realizar_calcs(QVector<QVector<double> > &numbers); Na mainwindow.cpp void Ma...
asked by 09.11.2014 / 22:14
1
answer

Qt5Widgets.dll DLL error when it is installed to another computer

I'm trying to export an application built in Qt 5.7.0 (compiled to 32-bit, though development takes place in a Windows 10, 64-bit environment) to another computer (this one with Windows 8.1, 32 bit). To do this, I have prepared the CMake scri...
asked by 02.08.2016 / 15:43
1
answer

How to read a variable in setText ()?

I need the text of a lineEdit to equal a string variable. I'm using this code: void MainWindow::on_pushButton_clicked(){ string texto; texto= "mensagem"; ui->lineEdit->setText(texto); }     
asked by 28.11.2015 / 23:46
1
answer

Which component to use in PyQt4 to display records of an SQL query on the screen?

I'm developing a graphical desktop application in Python using PyQt4 (Qt Designer), my doubt is about which component to use to display on my screen frmTelaPesqAluno records of a SQL query, and how to use it? It is a component similar...
asked by 30.08.2015 / 20:46
1
answer

How to convert int to QString?

I started learning the QT toolkit today and attempting to run a small test came across a question: How do I convert an integer to QString ? Is there a function that takes an integer and returns an object of type QString ?...
asked by 12.07.2015 / 12:40
1
answer

How can QDialog lock a QMainWindow?

I am implementing an experimental registration program, and I made a case where, if a person does not type and tries to register this empty data, it opens QDialog , receives the warning and does not complete the registration. Basically the...
asked by 26.04.2015 / 19:41
1
answer

How to install Qt for MSVC without the Microsoft IDE?

Is it possible to install Qt and the MSVC compiler without installing the Microsoft IDE? I downloaded this version of Qt 5.4.0 for Windows 32-bit (VS 2013, OpenGL, 694 MB) and installed, but I do not have much knowledge of microsoft product...
asked by 20.01.2015 / 17:19