Questions tagged as 'qt'

0
answers

QML bug full screen on Windows and white screen when deploy Android

Good morning everyone! There is a problem in the current version of Qt where full screen QML applications cause flashes and screen crashes when interacting with Windows interfaces, I solved this situation leaving the application not mobile, m...
asked by 18.04.2018 / 15:46
1
answer

python command to "get" the text from the Qt Designer fields and save it in sqlite

Good afternoon. I'm enthusiastic and I'm starting in python. With Tkinter I can send the field text to the database with the "get ()" function, in gtk, if I'm not mistaken, with "get_text ()". I would like to know what this function would be in P...
asked by 08.03.2018 / 18:26
1
answer

Why is it impossible to use OpenGL in Qt 5?

Probably OpenGL is the only thing I can not use in Qt, Maya and 3Ds and another autodesk program pa uses opengl in qt, but no tutorial or example that works. I have already created a class for the widget based on QOpenGLWidget (Since QGLWidge...
asked by 29.01.2018 / 14:24
0
answers

how to leave the focus disabled in a window even though I click on it?

I am programming a virtual keyboard, where I will type by clicking with the mouse. In python2.7 interface qt4 I was able to solve the idea a lot, I could always make it appear, and also make it type in any other window .. The problem is that it...
asked by 20.06.2017 / 17:48
1
answer

Problem executing methods of a generic class

I'm developing a generic DAO class in Qt, but when I compile I have the following error, when I call any method from my DAO object: Debug\debug\main.o:-1: In function Z5qMainiPPc': undefined reference to bool DAO::add<Product&...
asked by 04.04.2017 / 20:03
1
answer

Select column Qt ComboBox

I have a Connect button in mainwindow.ui void MainWindow::on_pushButton_clicked() { ConectarDB = QSqlDatabase::addDatabase("QMYSQL"); ConectarDB.setHostName("localhost"); ConectarDB.setDatabaseName("Banco"); ConectarDB.setPort(...
asked by 03.04.2017 / 09:04
0
answers

Python - PYQT5 - QT DESIGNER - How to add, multiply etc.

I know the basics and the whole structure of calculations in Python. I decided to take a bigger step and create a graphical interface for these calculations. Well, creating the interface in QT DESIGNER and then converting to Python is easy, the...
asked by 13.10.2016 / 04:15
1
answer

Problems adding library to qt project

I am currently trying to include the rtmidi library in a project from qt to bind to a graphical interface system that I created it with Midi messages. I added the following line to my project: #include <RtMidi.h> In the...
asked by 07.11.2016 / 13:09
1
answer

QDateEdit component only accepts dates from 1752

Hello, I need to register data with dates of 1500 and 1600 but the QDateEdit component only accepts dates from 1752. Can you change the component? Is there any other component that will replace this? I already tried to change the minimumDate pro...
asked by 24.07.2016 / 20:17
0
answers

How to connect the dialog boxes in QTdesigner and execute py from them?

I'm new to programming in python and I already have some doubts. A friend created two codes for me in py using pu 2.7 , Numpy and SciPy . I have created an interface for these codes but I do not know how to connect them. I c...
asked by 15.04.2016 / 02:22