03-07-2012 09:52 PM
you might wish to take a look at this patch https://github.com/BGmot/Qt/commit/66d4c3b5de2a813
I did not have much luck with Qt on Simulator until I fixed this file.
03-07-2012 11:40 PM
I put my x86 build up as well, for the simulator users. This was built with "-opengl es2", which is both untested and apparently won't work on the simulator anyway, so don't try using OpenGL stuff...
Link for now is microcode.ca/downloads/qt4.8-stage-playbook-x86-qc
03-08-2012 07:46 AM
Peter, When you said "@roquetto from KDAB (whom RIM has involved in the port to PlayBook) had told us they'd merged their changes upstream into the main Qt project, and we could just use the 4.8 branch from now on (if I got the story correct)."
What does that mean? Does that mean the port is merged with the main Nokia Qt 4.8 and will be updated in the Qt SDK and that the port from github is no longer needed? Or am I misunderstanding?
I am shocked there is still an active community using IRC chats, especially for something as new as the playbook... Brings back memories of the old sat hacking days... Too bad we miss all the chats here..
BGmot, Are you having better luck with the emulator with your patches applied? Is it worth using it? My past experience was that its useless....
It would sure be nice to be able to use the simulator in the Qt SDK, its very fast and is great for debugging. I know its customizable to do whatever we need, just need to find the time...
03-08-2012 09:29 AM
I use NDK+Blackberry SImulator as I don't have my own device (just periodically get access to my friend's Playbook to test stuff) so I have to use Simulator and it works pretty nice if you don't try to use 'non-Qt' stuff like hide/show virtual keyboard or react to user's hide/show virtual keyboard (that works on real device).
I strongly recommend to develop directly on Playbook (to those who have it).
I am also curious what actually KDAB is doing... did they bring what we have at github into http://qt.gitorious.org on Feb 28th, or there are changes? It's becoming confusing - what to use: github or qt.gitorious... -(((
03-08-2012 09:39 AM
03-08-2012 09:55 AM
Playbook is my hobby -) so I work and my work is not related to devlopment, I can't spend much time in IRC. Forums are better to me as I can read them several times a day (and being notified if somebody answers my post). Qt situation is weird, 'they' ask for contributions, society is ready to contribute and has thing to contribute but there is no coordination whatsoever. I'd better shut up before slipping into critisizing RIM for luck of communication.
03-08-2012 10:49 AM
Can somebody tell me how to setup properties in IDE so I wouldn't get compiler errors with Peter's files for ARM?
Subdirectories are different.
Another question: If I want to use XML parser, do I have to add any additional library?
03-08-2012 05:23 PM
I extracted files into C:\BB_DEV\Native.
I added the following assets:
Added QCC complier preprocessor:
Added in QCC linker Libraries:
'app' was not declared in this scope main.cpp /Shiny/src line 16 C/C++ Problem
'clicked' was not declared in this scope main.cpp /Shiny/src line 16 C/C++ Problem
'QApplication' was not declared in this scope main.cpp /Shiny/src line 9 C/C++ Problem
'QCoreApplication' has not been declared main.cpp /Shiny/src line 7 C/C++ Problem
'QObject' has not been declared main.cpp /Shiny/src line 16 C/C++ Problem
'QPushButton' was not declared in this scope main.cpp /Shiny/src line 14 C/C++ Problem
'quit' was not declared in this scope main.cpp /Shiny/src line 15 C/C++ Problem
'QWidget' was not declared in this scope main.cpp /Shiny/src line 11 C/C++ Problem
'SIGNAL' was not declared in this scope main.cpp /Shiny/src line 16 C/C++ Problem
'SLOT' was not declared in this scope main.cpp /Shiny/src line 16 C/C++ Problem
window' was not declared in this scope main.cpp /Shiny/src line 12 C/C++ Problem
expected ';' before 'app' main.cpp /Shiny/src line 9 C/C++ Problem
expected ';' before 'quit' main.cpp /Shiny/src line 14 C/C++ Problem
expected ';' before 'window' main.cpp /Shiny/src line 11 C/C++ Problem
QApplication: No such file or directory main.cpp /Shiny/src line 1 C/C++ Problem
QPushButton: No such file or directory main.cpp /Shiny/src line 2 C/C++ Problem
QWidget: No such file or directory main.cpp /Shiny/src line 3 C/C++ Problem
Now I am stucked :-(
03-08-2012 05:31 PM
03-08-2012 05:34 PM
Added QCC complier preprocessor:
Now it compiles!!!