Meego Wiki
Views

Talk:SDK/Docs/1.1/Creating Hello World

From MeeGo wiki
< Talk:SDK/Docs(Difference between revisions)
Jump to: navigation, search
(added comment about code not compiling)
m (corrected OS version)
 
Line 1: Line 1:
-
The example code given on this page does not compile (on Ubuntu Linux 2.6.32-27-generic in any case), specifically the lines
+
The example code given on this page does not compile (on Ubuntu Linux 10.04 kernel 2.6.32-27-generic in any case), specifically the lines
<pre>#include <QSystemInfo>
<pre>#include <QSystemInfo>

Latest revision as of 13:30, 7 January 2011

The example code given on this page does not compile (on Ubuntu Linux 10.04 kernel 2.6.32-27-generic in any case), specifically the lines

#include <QSystemInfo>
using namespace QtMobility;

It appears that the header file QSystemInfo cannot be found. All subsequent references to the QSystemInfo class do not work.

Removing the QSystemInfo references and commenting out the namespace line solves the problem and the application deploys correctly.

Personal tools