My Problem
I compiled OpenSSL into QT to enable OpenSSL support. Everything appeared to go correctly in the compile.
However, when I try to use the official HTTP example application that can be found here, everytime I try to download an https page, it will signal two QSslError, each with contents NoError.
The types of QSslErrors, inclu...
I've override resizeEvent(QResizeEvent * /* SizeEvent */) in a custom widget and I'm wondering if I should call SizeEvent->accept() on the event or just let it pass along.
Since I'm getting it from the parent widget, I'm assuming I can safely accept it, but I haven't been able to find a definitive answer.
Thanks,
...
Hi,
I am working on a sample which uses QNetworkAccessManager to request the service. To this we have added a certificate which is required by the service. Even after I added the certificate, QNetworkReply emitting the signal sslErrors.
,
But after that it is emitting the signal finish. In the finish Slot when I tried to read error (r...
Hi there!
I have a QTableView defines in UI file. Here is the figure:
I'd like to make month change (where the red array points) with QComboBox widget, dealing with delegates, but for me, for my custom delegate and model it's a too complex problem, and I can't figure out what is wrong?!
Problem: on my opinion, QAbstractTableModel ca...
I'm serving some files locally via HTTP using QTcpSocket. My problem is that only wget downloads the file properly, firefox adds four extra bytes to the end. This is the header I send:
HTTP/1.0 200 Ok
Content-Length: 382917;
Content-Type: application/x-shockwave-flash;
Content-Disposition: attachment; filename=file.swf;
This i...
I have a Qt project that uses qmake. To improve clarity and readability, I'd like to keep the
source files
build system
generated files (such as object files)
separate.
So my first step was putting the source files into a src/ sub directory:
myproject/
myproject.pro
src/
main.cpp
MainWindow.ui
...
...
I'm trying to get a fullscreen dialog to launch after clicking a button in my MainWindow using QT on Mac. I use showFullScreen() to display the dialog, and the whole screen does get taken up. The problem is that the widgets within the dialog are still constrained to the 1024px geometry set for the dialog in the designer, and positioned i...
After 4 years of absence I'm finally coming back to Qt development again. I'm quite impressed by the development it has gone through, but also a bit confused by Qt Quick, which got just introduced in Qt 4.7
For me it seems like something to build a quick, appealing guy with some logic in Java Script. However, if I'm going to build a C++...
We are trying to develop a real-time display system in safety critical domain. (All this is at very basic stage.) One option I have is to write my own Widgets using OpenGL. Other two options is to use something like GTK or QT.
QT seems easy to use and has good development tools. But I have worked on several applications in real-time dom...
Hi All,
I have my own application in QT.It has one main GUI thread which will handling the event from the inputs but i have created one thread that will applicable to change images every 10 seconds (just like slideshow or screen saver). but when i call function setPixmap from thread then it gives me warning that it's not safe to use Pix...
Is there any way I can prevent the user from hitting the return key when entering text in a QPlainTextEdit widget? That is, even though I want to give the viewing space of multiple lines, I want that the if the user hits enter, a new line should not begin.
The reason for doing this is that I am adding a GUI layer on top of an existing c...
Hello,
i use the last Qt version for a projet and the QProcess : http://doc.qt.nokia.com/4.6/qprocess.html.
I have a question
- i want to lauch program from my application by using QProcess . I want to display a QGraphicsView transparent on full screen over the launched program.
For the moment: i hide the view, launch the program, slee...
Hallo everyone,
I have gone through various threads on this topic but, nothing seems to solve my particular problem. Including testlib, makes the console window appear and there I didnot find any option to suppress this behaviour.
But my application still demands testlib to be present (because i badly wanted to use QTest::qWait() metho...
Hi,
i want to load the localized string in Qt application. for this i am following few steps, correct me if i am wrong.
Note: it works fine for QString but not for const char*
1)update the pro file with translation language
2)generate .ts & edit using Qt linguist. Generate .qm file using lupdate and lrelease.
3)load the .qm file from ...
Hello,
I would like to know whether there is any way to check the validity of a boost call back function.
Issue is as follows
class A;
class B;
In class A's initialise function following is done.
boost::function < void(class B) > call_back;
using namespace boost::lambda;
call_back = bind(&A::callback_after_preparation, this, boos...
Hi,
I have a Qt application with an embedded script/jit. Now I'd like to receive the output from the script on an QTextEdit (more specific QPlainTextEdit). For this purpose callbacks are being issued. The problem I'm facing is that whatever I try the output to the TextEdit is either delayed until the script has finished or gets stuck af...
I'm using a modified version of Botan from the Qt Creator 2.0 sources. The standard Botan distribution is under a FreeBSD license, and Qt Creator 2.0 is under LGPL (which means that version of Botan is under LGPL? or at least the 3 files Nokia added are?). If I remember correctly, according to the LGPL, if I change an LGPL licensed work,...
Greetings all,
In my QT Application I have several QMainWindow instances.
I keep track of opended QWindow objects in a Application Context object;
At onepoint ,when a Menu item is clicked , I want to go through all this QWindows and check which Window is active and
execute some operations.
Please refer to following code snippet :
//J...
Hi,
Sorry for my beginner's question...
What is the easiest way to define procedures, which are executed when MousePressEvent or MouseReleaseEvent occurs?
For now I am defining my own class (MyGraphicsView class), which inherits QGraphicsView and I am reimplementing mouse events (which are virtual functions). It works fine but is ther...
Apparently, for Cocoa applications, you're supposed to implement [[NSApp delegate] application:openFile:] or something like that to allow your application to open files double clicked in Finder.
How do you achieve this functionality using Qt, as the name of the file to be opened is not passed on the command line?
...