View Single Post
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#1
Edit: Issue appears now resolved with a sdk update.

Original post:
After enjoying some Qt Quick presentations at the MeeGo conf Ive created my own example which runs well in the Qt Simulator. Unfortunately I am not able to build the same project targeting Maemo. I have two build issues, a "QtDeclarative/QDeclarativeView: No such file or directory" error and an "expected class name before '{' token" in the qmlapplicationviewer header file.

#ifndef QMLAPPLICATIONVIEWER_H
#define QMLAPPLICATIONVIEWER_H

#include <QtDeclarative/QDeclarativeView>

class QmlApplicationViewer : public QDeclarativeView
{
public:
enum Orientation {
LockPortrait,
LockLandscape,
Auto
};

QmlApplicationViewer(QWidget *parent = 0);
virtual ~QmlApplicationViewer();

void setMainQmlFile(const QString &file);
void addImportPath(const QString &path);
void setOrientation(Orientation orientation);
void show();

private:
class QmlApplicationViewerPrivate *m_d;
};

#endif // QMLAPPLICATIONVIEWER_H
I have the latest Qt version, and I started by creating a Qt Quick Application. Is there something else I need to do to get this to build for Maemo?

Thanks.
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun

Last edited by kojacker; 2010-11-19 at 09:31.
 

The Following User Says Thank You to kojacker For This Useful Post: