Class for handling URLs from Qt. Handles storage and encoding.
Questions tagged [qurl]
65 questions
0
votes
1 answer
loading Image from QUrl with blackberry 10
bb::cascades::Image m_image = Image(QUrl(appRoot +"default.png"));
If the file does not exist what m_image returns ??

oumaimadev
- 69
- 7
0
votes
1 answer
Passing values through links in QT
I'm writing a program in C++ and qt4 that is supposed to generate a various number (hundreds )of clickable links in a QTextBrowser depending on data from input files.
The idea is that when the user clicks one of these links a value will be passed…

user2820246
- 1
- 2
0
votes
0 answers
HTML form encoding in Qt
It seems that QUrl does not support HTML form encoding/decoding of urls (encoding spaces as a plus sign, etc.). Does this functionality reside somewhere else in Qt, or do I need to find another library for it? In the latter case, what do you…

Elektito
- 3,863
- 8
- 42
- 72
0
votes
1 answer
0
votes
1 answer
QUrl parsing fails
I have a QUrl as this: https://www.example.com/success.html#token=XYZ&user=guest and I want to obtain the value of the token i.e. XYZ
My current code
QString token = url.queryItemValue(QString("token"));
cout << QString("access token is…

S B
- 8,134
- 10
- 54
- 108