petabytekr / monav

Automatically exported from code.google.com/p/monav
0 stars 0 forks source link

No QFuture for Symbian :-p #42

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
QFuture is not supported on Symbian, so monav (SVN) is not compilable on 
Symbian in the current state. see 
http://bugreports.qt.nokia.com/browse/QTBUG-5182

   C:/cbro/src/monav/client/mapmoduleswidget.cpp: In member function 'void MapModulesWidget::populateData()':
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:77: error: 'QFuture' was not declared in this scope
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:77: error: expected primary-expression before 'bool'
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:77: error: expected ';' before 'bool'
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:78: error: 'QFutureWatcher' was not declared in this scope
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:78: error: expected primary-expression before 'bool'
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:78: error: expected ';' before 'bool'
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:79: error: 'watcher' was not declared in this scope
   C:/cbro/src/monav/client/mapmoduleswidget.cpp:80: error: 'future' was not declared in this scope

Original issue reported on code.google.com by christia...@gmail.com on 31 Mar 2011 at 1:09

GoogleCodeExporter commented 9 years ago
Nice to see somebody trying to compile it for Symbian :-D

Hmm that certainly strange. Does Symbian support concurrency? Would it work if 
we would move it to an extra thread instead of using QFuture?

Original comment by veaac.fd...@gmail.com on 31 Mar 2011 at 6:28

GoogleCodeExporter commented 9 years ago
Yes, Symbian supports QThread, just not the "easy" QFuture/Qt Concurrent 
framework

Original comment by christia...@gmail.com on 31 Mar 2011 at 9:42

GoogleCodeExporter commented 9 years ago
I think then I will have to replace this with a genuine background thread.

Did you encounter any other problems with Symbian?

Original comment by veaac.fd...@gmail.com on 31 Mar 2011 at 10:03

GoogleCodeExporter commented 9 years ago
I'll probably do, but I was stuck with this specific problem... MoNav ran fine 
in the Qt Simulator, but, by experience, that doesn't mean much as it is really 
a mingw setup with the symbian form factor...

Not really related, but I'm using Qt Creator on Windows to compile and I had 
problems compiling because by default, Qt Creator do a "qmake -r" which somehow 
messed up the compile setup.

Also not related, but I'm specifically interested in the quadtilerenderer and I 
did not want to install mapnik, which is a hard dependency in the current 
compile setup.
I can send you a patch which only activate mapnik with a "MAPNIK=1" on the 
qmake line, if you wish (or,the other way, deactivate mapnik with a NOMAPNIK=1 
if you prefer)

Original comment by christia...@gmail.com on 31 Mar 2011 at 10:16

GoogleCodeExporter commented 9 years ago
This seems to be the only Symbian discussion. 
Just wondering if anybody succeeded in compiling a working program for Symbian. 

I'm not a programmer at all so when I downloaded and ran MoNav 0.3 in QtCreator 
(from Nokia) I got all sorts of warnings and messages I can't figure out. 

Before giving up (would be pityful because it is a nice program), I could try 
to get a working knowledge of Qt and fix it myself, or choose the easy way and 
find out if somebody already compiled it succesfully for Symbian.

I would certainly be interested if this would be published on MoNav's download 
page.

Original comment by fvierber...@gmail.com on 12 Dec 2012 at 3:43