01-21-2013 08:49 AM
Hi, i'm following the example from :
https://developer.blackberry.com/cascades/referenc
#include <bb/cascades/pickers/FilePicker>
#include <bb/cascades/pickers/FileType>
#include <bb/cascades/pickers/FilePickerMode>
and also add this to the project.pro:
LIBS += -lbbcascadespickers
but when i try to build the project, it show errors:
../src/custom/EditableFrameContainer.cpp:105:2: error: 'FilePicker' was not declared in this scope
../src/custom/EditableFrameContainer.cpp:105:2: note: suggested alternative:
C:/Job/Software/bbndk/target_10_0_9_1673/qnx6/usr/
ickers::FilePicker'
../src/custom/EditableFrameContainer.cpp:105:14: error: 'filePicker' was not declared in this scope
../src/custom/EditableFrameContainer.cpp:105:31: error: expected type-specifier before 'FilePicker'
../src/custom/EditableFrameContainer.cpp:105:31: error: expected ';' before 'FilePicker'
../src/custom/EditableFrameContainer.cpp:106:22: error: 'FileType' has not been declared
../src/custom/EditableFrameContainer.cpp:108:22: error: 'FilePickerMode' has not been declared
is there any missing steps that i have to do, to make this project run correctly?
Regards,
Christian
Solved! Go to Solution.
01-21-2013 08:53 AM - edited 01-21-2013 08:53 AM
FilePicker is defined in bb::cascades:
ickers namespace.
Add "using namespace bb::cascades:
ickers" to .cpp file.
01-21-2013 08:58 AM
01-21-2013 10:55 AM
chris_chrono, please mark post that helped you (not your own "thank-you" post) as an accepted solution. Liking helpful posts is also appreciated.