Well the Q10 is blackberry os10, while eclipse/java is for blackberry 7 and lower.
From what I understand OS10 was completely reworked, which means that project won't be compatible. I think they switched to c++.
The reason it works in the simulator is its an os7 (or lower) simulator.