I have a QT program which displays the data it receives over UDP.
It works fine for around 30 seconds but after a while it gives Segmentation Fault and crashes. This 30 seconds is also not fixed.
I used the debugger and got this
Program received signal SIGSEGV, Segmentation fault.
0x003c6fd4 in ?? () from /usr/lib/libQtGui.so.4
Can a...
hi,
I am working on Windows xp and am trying to get a simple video player running.
I am trying to use Phonon::VideoPlayer module for this. I am connecting the signal as
connect(self.player,SIGNAL("finished()"),self.player.deleteLater)
and then , when the Play button is pressed, it makes the following call:
self.player.play(Phono...
Hello everybody,
I am using both Qt Framework and QuickFIX engine to create a financial application with GUI.
My problem is that when I compile a program that implements QickFIX engine and QT Framework , it gives me a compilation error : it doesn't find some header files in MinGW ( socket.h, inet/in.h, etc ..)
I am on Windows 7 and I kn...
Do all Qt applications require KDE to be installed? Is it enough if the Qt runtime is installed along with GNOME? Can I make a Qt application look exactly like a GTK application under GNOME? Could anyone please point me to some article detailing the relationship between Qt, GTK, KDE, GNOME, X?
...
Is there any nice and simple way to access non QObject-based classes, such as QXmlQuery, QDateTime etc. from Qt Script?
The only way I see is to wrap QXmlQuery in another class that inherits QObject and declare as slot every function which I need to access from Qt Script:
void MyXmlQuery::setQuery ( const QString & sourceCode, const QU...
I'm getting some weirdness with QtRuby when using a TableWidget. The table widget loads, but when you click on the elements in the row, the app segfaults and crashes.
require 'Qt4'
class SimpleModel < Qt::AbstractTableModel
def rowCount(parent)
return 1
end
def columnCount(parent)
return 1
end
...
This what I did but it results in errors:
1: In win32-msvc2008\qmake.conf I set QMAKE_CFLAGS_RELEASE = -O1 -Og -GL -MD
2: From MSVC2008 CMD I run vcvarsall.bat x86 and vcvars32.bat "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
3: From Qt 4.6.2 CMD I run the following
C:\Qt\4.6.2>configure -release
-nomake examples -nomak...
Hi all,
I couldn't understand the connectSlotsByName() method which is predominently used by pyuic4.. As far the class is single in a PyQt file it's ok since we can use self which will be associated with a single object throughout.. But when we try to use various classes from different files the problem and the need to use connectSlotsB...
I'm creating an application which has a "floating" widget which can be dragged around inside the application window. But it starts up, or tends to go behind other widgets sometimes. Is there any way to make sure that the widget in my application stays on top of all other widgets whenever it is made visible?
Thanks.
...
Does anyone have a working example of a video player built using Qt phonon? (in C++ )
See my related question here . I am unable to build one using Python.
...
QMessageBox::about( this, "About Application",
"<h4>Application is a one-paragraph blurb</h4>\n\n"
"Copyright 1991-2003 Such-and-such. "
"For technical support, call 1234-56789 or see\n"
"<a href=\"http://www.such-and-such.com\">http://www.such-and-such.com</a>" );
This code is creating the About message box which I wa...
I have big size QTableWidget.
I want to print it including headers, but QTableWidget doesn't have print() method. How can I implement it?
...
Please tell me how to create a QLabel on the QWidget that has a text that you can click and browser will open the mentioned link.
Please bring here a code snippet.
Thanks!
...
How can calendar widget's particular cells be coloured?
...
My application is written in C++ and uses the Qt framework. I use the QAxWidget class to access an active x component. Now I need some kind of mechanism that notifies my application each time the active x component
has crashed or
does not respond any more (due to dead lock or infinite loop).
(1) can easily been done by watching the e...
i am using stacked widget and i want to have the following effect :
when i press a pushbutton , the button should move to the center and gradually fade out at the same time. while the button is fading the next page of the stacked widget should gradually fade in or any kind of animation would do. tried many thing but i got unsatisfactory ...
How to customize WindowsXPStyle in Qt?
I would like to display the menus and menu items as per the MS Office 2003 style in Qt.
...
Hello,
I am writing an FFmpeg frontend in Qt & testing it on linux, windows & Mac.
(FFmpeg is a popular command line tool for video operations)
My project is working well on Linux & windows but I cannot invoke FFmpeg on Mac!
I have compiled it from svn source on Mac & I have ensured that it is working properly by running it in Mac ter...
Hi..
I have a class inherited from Qwidget, now in that class I will be creating "Qlistview" object and filling up the items to view..
When the selection of items in the listview gets changed I want to get the "selectionchange" event to come..
So how can I achieve this.. pls tell me in brief...
thanks
...
I have an NSImage pointer from a platform SDK, and I need to load it into Qt's QImage class. To make things easier, I can create a QImage from a CGImageRef by using QPixmap as an intermediate format, like this:
CGImageRef myImage = // ... get a CGImageRef somehow.
QImage img = QPixmap::fromMacCGImageRef(myImage).toImage();
However, I ...