Questions tagged as 'qt'

3
answers

How does serial communication work and how to do it using C / C ++?

I use Debian 7.1 and I need to do serial communication between a computer and a microcontroller using C / C ++ . I have already done a lot of research on the subject, but the articles and examples I found are very confusing, unclear and not v...
asked by 20.03.2014 / 17:05
2
answers
1
answer

ERROR: This is application failed to start because it could not find or load the Qt platform plugin "windows"

I'm having an error while running a program that was created with Qt, it generates the error of the photo! This error is generated when I run the exe, all the dlls indicated in dependency walker are in the exe folder. Would anyone help me?...
asked by 04.03.2015 / 19:05
3
answers

Block window magnification

How can I block the increase of the window QDialog and QWidget ? For example, in the Skype login window you can not enlarge the window.     
asked by 18.03.2014 / 13:17
2
answers

How to convert a std :: string into a QString?

I'm trying to make a simple display my name dialog box. See the code. Pessoa *p = new Pessoa("Ronald Araújo", "[email protected]", 23); QMessageBox msg; msg.setText(QString::fromUtf8(p->getNome())); msg.exec(); But the code bre...
asked by 18.06.2014 / 00:21
1
answer

View a dynamically loaded text / photo block with QML for Android

I'm writing an application using the QML of the newly released Qt 5.2 targeted for Android. On one of the screens I need to display an article that is loaded from a server and may change after the application has been released. The article would...
asked by 15.12.2013 / 18:09
1
answer

How to create buttons forward and back QUI PyQt4

Hello, I'm new to PyQt and I have a question, I need to create a program with several steps, or screens, where the user will do their processing on each screen and clicking 'next' to the next screen or if he wants to edit something earlier, it w...
asked by 23.10.2015 / 23:45
1
answer

Qt calling the method in another class

I am calling a method from another class after inserting data. But this is returning an SQLite error: QSqlDatabasePrivate::removeDatabase: connection 'qt_sql_default_connection' is still in use, all queries will cease to work. QSqlDatabasePriv...
asked by 28.08.2015 / 01:06
1
answer

QCamera Windows "failed to start"

I made a QT application where I make the instance of a Camera with QT and display it in the window. So far so good, the problem is that when I want to display it in another window (QDialog) I get the error "failed to start". I wanted both window...
asked by 30.06.2015 / 20:57
0
answers

How to print an existing PDF using Poppler (Qt5)?

I'm using Poppler for Qt5, but I've reviewed the API documentation to read existing PDF documents, I need to put the functionality of send to printer, but I have no idea where to start, the most I did was this (read the PDF): QString filenam...
asked by 09.01.2017 / 21:28