Questions tagged as 'qt'

1
answer

Qt Java - Get gallery image

I'm trying to get an image from the gallery of Android using Qt. I've already called intent of Java using a arquivo Java , but I do not know how to return the value to Qt. I have a class that calls a method in the Java file...
asked by 26.11.2015 / 17:43
1
answer

What is the difference between QString and QStringLiteral?

What's the difference between the two? Which one is best to use?     
asked by 02.12.2015 / 21:11
1
answer

QT: How to prevent changing the contents of a QTableWidget

The title of the question says it all: How can I prevent editing a given column from a QTableWidget ? I've been researching and I think the solution involves using some flags , but I could not come up with a solution.     
asked by 18.07.2015 / 20:30
0
answers

What safe practices can I take to store a password in desktop applications?

I intend to make an application with Pyqt5 to issue notifications based on an API that I have. The user, of course, in a first access would have to use the login and password, to access the application. I would like to keep this user authenticat...
asked by 03.08.2018 / 22:03
0
answers

Mongo (3 shards) C ++ Driver: SyncClusterConnection error

I'm having trouble running the upsert on the mongo when I connect in 3 shards in cpp. Now when I connect in only one of the shards I can do the operation. Does anyone have an alternative or do you know the reason for this error? CODE: Conne...
asked by 26.07.2016 / 21:57
0
answers

How to embed qml modules in the executable?

When I run a program done in qml on another machine, it does not find the qtquick modules. I imagine an alternative to this and the incorporation of the modules into the executable itself. How should I proceed?     
asked by 31.03.2015 / 22:23
0
answers

How to use Geolocation API with QtWebkit?

You can use Geolocation API with Desktop applications using QWebView ?    I've tried Qt WebKit and HTML5 geolocation , but it does not work.    I tried it's the qt5 position api support for desktop app (like mac or windows) ,...
asked by 22.03.2015 / 19:33
1
answer

How to plot charts using QCustomPlot in main thread?

I would like to know how to plot the serial port data in the QcustomPlot library to stay up to date. Thanks in advance for your understanding. void serialThread::run(){ mutex.lock(); if(serial->waitForReadyRead(1)){ QByteArray data =...
asked by 15.12.2014 / 15:30
1
answer

Is it possible to shorten the path of the .h files included by the .pri file?

I'm trying to separate my application from a small open lib I created, so I put the files in .pri and include in .pro , the folder structure looks like this: c:/projetos/ ├── minhalib │ ├── minhalib.pri │ ├── foo │ | ├── f...
asked by 30.10.2016 / 21:53
1
answer

Installing Qt in Visual Studio

I would like to know how to install the QT in visual studio 2015, I did everything, but I can not use it. Whenever I give a #include for example, it says that there is no file or directory. I've tried it in many ways. What is the best way to use...
asked by 14.03.2016 / 14:30