![]() |
[Solved] Help! Can't get QContactManager to work at all
Hi,
Edit : I don't really remember what solved this, But all the code for a working App can be found in the sources of horizontal-call. I am working on an app for the N900, written in C++/Qt Mobility for PR1.2. So far, I got a nice GUI running on my phone via Qt + Madde, and I am stuck trying to make QContactManager to give me what I need. The Qt documentation examples don't work, and I cannot find my way around this problem, been trying for 2 days now. So the problem is like this : I want to fetch ALL the contacts from the address book, one by one and do some parsing on them, I am stuck at even accessing the contacts API, I am trying to create a QContactManager object, and I am getting an error accessing it, after including <QContactManager>, I still don't get any autocompletes for it, and it remains out of scope. Can anyone help me? Edit : My problem : http://i880.photobucket.com/albums/a...a/Untitled.png |
Re: Help! Can't get QContactManager to work at all
And OFC this app goes to garage and repositories when it's done, so please please help me (;
|
Re: Help! Can't get QContactManager to work at all
Bump ):
I am totally stuck, I reinstalled everything, and I am not able to compile most of the examples that come with Qt... |
Re: Help! Can't get QContactManager to work at all
I tried to make a radio fm app but got problems with QRadioTuner qtmobility class. It seams not to be working.
On the net I found this page and in the bottom in the platform compatibility it shows almost 0 compatibility with maemo 5... http://doc.qt.nokia.com/qtmobility-1.0-tp/ |
Re: Help! Can't get QContactManager to work at all
Mind posting the entire code? Hard to say whats wrong without the full context.
|
Re: Help! Can't get QContactManager to work at all
Quote:
But still, it doesn't feel like a compatibility problem. |
Re: Help! Can't get QContactManager to work at all
Quote:
|
Re: Help! Can't get QContactManager to work at all
Quote:
I have written comments to where I have problems, Right now this compiles just fine, ofc there is a UI file. If it's needed i'll post it as well. H File : Code:
#ifndef MAINWINDOW_H CPP File : Code:
#include "mainwindow.h" Code:
|
Re: Help! Can't get QContactManager to work at all
The compiler is your friend. Whatever your IDE reports, the compiler is the one that has to try to use your code. So, compile outside of your IDE and look at the error messages. Then go back to your IDE and fix it.
Most likely, though, is that the path used for includes does not contain the directory where the header file for QContactManager is. |
Re: Help! Can't get QContactManager to work at all
Quote:
I can build inside QTCreator, and I have to compile output. How do I check if it is path problems, and fix it? |
All times are GMT. The time now is 13:02. |
vBulletin® Version 3.8.8