Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Reply
Developer
Posts: 1,598
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido
Accepted Solution

How to add _LARGEFILE64_SOURCE to project?

I'm using a project which does not allow me to add

 

DEFINES += _FILE_OFFSET_BITS=64
DEFINES += _LARGEFILE64_SOURCE=1

to the .pro file.  The IDE auto generates the config.pri

 

I tried adding the defines in the project properties in the paths and symbols but my app still does not scan all the files on the sd card.  What gives?

 

In other projects all i do is just add them to the .pro file and it works.

 

 

Highlighted
Developer
Posts: 1,598
Registered: ‎07-14-2008
My Device: Z10
My Carrier: Fido

Re: How to add _LARGEFILE64_SOURCE to project?

Nevermind. I just had to add it to the .pro file.  Arggg