carlon
|
2011-02-03
, 14:09
|
Posts: 328 |
Thanked: 72 times |
Joined on Oct 2010
@ Venezuela
|
#41
|
|
2011-02-04
, 00:50
|
|
Posts: 275 |
Thanked: 389 times |
Joined on Feb 2010
@ Sydney
|
#42
|
|
2011-02-28
, 16:16
|
Posts: 19 |
Thanked: 0 times |
Joined on Feb 2011
|
#43
|
|
2011-03-16
, 11:58
|
|
Posts: 275 |
Thanked: 389 times |
Joined on Feb 2010
@ Sydney
|
#44
|
|
2011-03-16
, 12:43
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#45
|
Unfortumately it isn't working out-of-the-box. Qt mobility needs to be installed and linked to the default search location
Code:sudo gainroot apt-get install libqtm-12-declarative ln -s /opt/qtm12/imports/QtMultimediaKit /usr/lib/qt4/imports/ ln -s /opt/qtm12/imports/QtMobility /usr/lib/qt4/imports
viewer.engine()->addImportPath(QString("/opt/qtm12/imports"));
|
2011-03-16
, 12:47
|
|
Posts: 275 |
Thanked: 389 times |
Joined on Feb 2010
@ Sydney
|
#46
|
DO NOT DO THIS ! You *will* bork your Qt install at some point/upgrade if you go down the path of manually modding Qt lib paths (which is the reason it isn't done that way 'out-of-the-box' in the first place)
The right (future-proof) way to do this for now is to handle the import paths from your code
Code:viewer.engine()->addImportPath(QString("/opt/qtm12/imports"));
|
2011-03-16
, 16:51
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#47
|
Was going to do that but am just too lazy to push another release now. Wouldn't these symlinks just get overwritten though?
|
2011-03-17
, 02:54
|
|
Posts: 275 |
Thanked: 389 times |
Joined on Feb 2010
@ Sydney
|
#48
|
The Following User Says Thank You to GreatGonzo For This Useful Post: | ||
|
2011-03-21
, 12:51
|
|
Posts: 275 |
Thanked: 389 times |
Joined on Feb 2010
@ Sydney
|
#49
|
quick-widgets ~/MyDocs/test.qml
The Following User Says Thank You to GreatGonzo For This Useful Post: | ||
|
2011-04-01
, 21:05
|
Posts: 662 |
Thanked: 653 times |
Joined on Feb 2010
|
#50
|