I would like to know how I can in a QTextEdit allow only the entry of numbers, is there any property for it?
PS: I need you not to write or enter the QTextEdit letters.
I am trying to make a connection using QT to a PostgreSQL database. The code I was using is the following:
#include <QCoreApplication>
#include <QSqlDatabase>
#include <QSqlQuery>
#include <QDebug>
int main(int argc,...
I need to install Qt5 in MacOS Sierra (10.12.6), but when the installer is about to finish the message appears:
I have version 9.0 of Xcode installed, but I read that Qt only needs the command line tools of this one. To install the comm...
My question is how can I solve the following error:
In this case you have two different projects in QT. One of them contains a class called "Numbers".
File .h:
#ifndef NUMEROS_H
#define NUMEROS_H
class Numeros
{
public:
Nume...
I'm working with a QT project, but this one although in its cpp and .h files it has the libraries that it requires to work with QT like #include. You do not have the file to be able to import the entire project in QTCreator.
I hope I have exp...
Imagine a Widget with two buttons Undo and Redo and two QTextEdit , called Editor1 and Editor2
We know that every QTextEdit has its method undo() and redo() So far all I see, and I am able to do, is that whe...
When compiling in Qt I get this error and can not execute.
Project ERROR: Can not run compiler 'g ++'. Maybe you forgot to setup the environment? 15:22:23: The process
"C: \ Qt \ 5.9.1 \ mingw53_32 \ bin \ qmake.exe" exited with code 3...