Questions tagged as 'qt'

1
answer

QThreads on QT Creator

I created a server in QT Creator, and I also implemented the Threads service on it. But when I connect to the server with the application "Client" and send a data, the server does not receive ... It should receive and print the received data, bu...
asked by 21.08.2015 / 21:18
2
answers

Add QtableView data to the database

Hello. How do I add all data from within tableView to the database? I am adding data in tableView with QStandardItem //TableView count = ui->tableView->verticalHeader()->count(); verticalHeader.append(QString...
asked by 12.04.2014 / 01:06
1
answer

How to get latitude / longitude of a geo address using Qt c ++ in windows?

Is it possible to get the coordinates (latitude and longitude) of a geographic location using only the address in Qt c ++? I know the libraries QGeoCoordinates, QGeoLocation and QGeoAddress, but I do not know if it is possible to get coordina...
asked by 06.04.2017 / 17:34
1
answer

How to create a mask between a QML image and a QtQuick element

How to create a mask between an imported QML image (eg a png, jpeg, svg, etc ...) icon, and a user interface element in the background (eg a rectangle)?     
asked by 02.11.2016 / 13:05
3
answers

How to convert variable to String?

I have a function that takes a code from the postgreSQL database and displays it set to QLabel with the function setText() . The problem is that this code comes from the database in odd format, between parentheses and comma. Exam...
asked by 14.10.2016 / 21:52
1
answer

Create an enumerator in QML by C ++

I'm trying to use an enumerator that was created in C ++ and I'm using the QT 5.6 website itself to guide me, Data Type Conversion Between QML and C ++ . However when compiling I get the following compiler exception: error: undefined refere...
asked by 03.06.2016 / 16:27
1
answer

How to use something similar to BorderLayout in Qt?

I'm doing a project using Qt, and I missed BorderLayout , could anyone tell me if it exists in Qt? if not, does it have any resemblance to it?     
asked by 30.08.2015 / 20:32
1
answer

http connection with c ++ and curl or any other library

I need to do url https and http request. I found several libraries, some easy, some not so much, but the only one I could install was the curl. I have already taken several examples, the problem is that in the examples they are using structured...
asked by 29.06.2017 / 03:29
1
answer

Parallel Programming Qt C ++

I'm starting to learn parallel programming, and I'm wanting to compare a single threaded program to a multithreaded one. What I thought was to make a very simple algorithm that, within a period of 1 minute, calculate the largest number of poss...
asked by 04.05.2017 / 07:41
1
answer

Regular expression help

Hello, I need a help with RegEx. I need to do a split of a string to store in a list, so I'm doing so. QString a = "strength 0.5"; QString b = "'kernels[1].params.sigma_albedo' 0.02"; QString c = "debugPixel '[336, 209]'"; QStringList myListA...
asked by 07.03.2017 / 02:31