qt

QtMobility camera on Symbian

Hi! Is it possible to show standard camera view (system camera view) using QtMobility on Symbian? I have Nokia N97. How can I show system camera view using QtMobility? Thanks in advance. ...

How to animate widget transparency in Qt4?

I need to animate widget transparency. It seems to me, that I should use QPropertyAnimation. But how could i define widget translucent? Should I use something like this? ...

Qt error while including <windows.h>

How can I use windows.h in Qt application? After including it several errors like "c:\Qt\4.4.3\include/QtCore/../../src/corelib/arch/qatomic_windows.h:387: error: declaration of C function 'long int InterlockedCompareExchange(long int*, long int, long int)' conflicts with d:\old\mingw\bin../lib/gcc/mingw32/4.3.3/../../../../include/winb...

Is there a way to detect when a QT QRunnable object is done?

Is there a way to detect when a QT QRunnable object is done? (Other than manually creating some signalling event at the end of the run() method.) ...

Font Size and Font Family in Nokia QT

Hi, Which font is supported the Nokia phones(s60)? I used the Arial,Arial Narrow but I could not see clearly.( I am developing apps based on the nokia qt sdk in mac 10.6) Please help me. Thanks is advance ...

Force QWebView to download web page content in a separate thread?

How can i force QWebView into downloading the webpage and related content in a separate thread? ...

Failed to start program. Path or permissions wrong? in Qt

I have downloaded Qt Mobility Open source project. I had a set of demo apps. And when built it and started the App, I got this error: Failed to start program. Path or permissions wrong? Can someone tell me what this problem could be? UPDATE: The complete error is: Starting /Users/xxxxx/Qt/qt-mobility-opensource-src-1.0.2/...

QTableView - Selection background color

Hi, I am using the following code for set the style for the table in simulator(S60)(Nokia Qt SDK). searchTable->setStyleSheet("background: rgb(255,255,255);color:rgb(0,0,0); font-family:Arial Narrow;font-size:20px; border: 4px outset rgb(255,255,255);gridline-color: #669933;" "selection-background-color: qline...

Installation of Qt Messaging framework in mac?

Can some one explain the steps that are needed to include Messaging framework in to a Qt Application? I have downloaded the Open source Project that contains the Messaging framework from this link: http://get.qt.nokia.com/qt/solutions/qt-mobility-opensource-src-1.1.0-beta2.tar.gz UPDATE: Raised a bug with Nokia. http://bugreports.qt....

How to Notice Close of MySql Server in Qt

When I closed MySql server, how can I understand that mysql server is gone away from my Qt program? Edit: Here my trial: When I close MySql, I get these results, and I can't catch that MySql is closed. My Code Snippet is QSqlQuery query(db); query.exec("SELECT * From RequestIds"); qDebug()<<query.lastError(); qDebug()<<db.lastError(...

How do I call Win32 application functions from a QT DLL ?

i have a Win32 (not MFC-based) application that imports a QT-based DLL. this works great. at this point, i dont need to use the QT_MFC interop library in order to merge the two event loops. however, i would like the QT DLL to be able to call methods in the Win32 application. would anybody have any advice on how i might go about doing t...

Why is this snippet showing : Exception in thread "main" com.trolltech.qt.QNoSuchSlotException:

printersetup=file.addAction(hme=new QIcon("../Desktop/images/kya/32x32/kaka.png"),"Printer Setup"); printersetup.triggered.connect(new QObject(){ public void setup() { setup1=new QPrintDialog(printer); setup1.accepted.connect(new QObject(){ public void accept(QPrinter printer) { System.out.println("nana"); browser...

Looking for a network-accessible hash table

I have a data acquisition application broken into a client and a server. The server is reponsible for grabbing data from the hardware, running some realtime analysis, and recording the data to disk when it's asked. The client is a GUI that the operator can use to look at some pretty graphs (generated by the server), set some parameters...

qt : Printing a WebView -- lp error : no default destination available

I am trying to print a webpage by calling the print() function of class WebView. The steps were : QPrinter printer; QPrintDialog setup1(printer); setup1.exec(); browser.print(printer); // browser is a QWebView object The above are not the exact code, just the steps.When the QPrintDialog shows up, the name of the printer is not there ...

Looking for PostMessage functionality in Qt

The Win32 API has a PostMessage function that posts a message to the end of the GUI message queue to be processed later from the GUI thread, as opposed to SendMessage which sends and processes the message synchronous with the calling thread. Is there a Qt solution for PostMessage functionality? A coworker suggested that Qt's server/sock...

Qt problem with GUI application

Hello. I have a simple code in Qt, as below: #include "mainwindow.h" #include <QWidget> #include <QGroupBox> #include <QLabel> #include <QLineEdit> #include <QGridLayout> #include <QVBoxLayout> class classA; class classB; MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent) { classA * objA = new classA(this); classB *...

Qt : changing the position of a widget quickly in a loop makes it unvisible for the duration of the loop. Why ?

I am using a QTimer and connecting its timeout signal to the method animate(). In animate(), I am displaying a QPushButton at different positions using a loop. The problem is that the QPushButton is not visible till the loop is finished. It should be giving the effect of a moving object. The following is Qt Jambi code : QTimer t=new...

How to remove widget from another Qwidget?

Hi, i created one QWidget(Parent). in the inside of the parent widget i created another one QWidget(Child). In the run time i need to remove the child widget. how to do that? i am not using any layout. i am directly putting in the Parent Widget. Please Help me to fix this. ...

How to Clear all the Widgets in Parent Widgets?

Hi., i am using Qwidget(parent). this parent widget contains lot of child widget. in the run time i need to clear all the child widgets from the parent. How to do this? Please help me... ...

QTMobilityAPI - Installation Error

Hi, I am using the nokia qt sdk for developing apps in MAC10.6. I want to access the map api in my project. I download the zip(qt-mobility-opensource-src-1.1.0-beta2) file and tried to install but I am getting the errors like ... make[4]: *** [../../../build/Debug/qtlandmarks_sqlite_debug/qlandmarkfilehandler_lmx.o] Error 1 make[3]: **...