Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9094787
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T23:26:09+00:00 2026-06-16T23:26:09+00:00

Hi guys I am creating a simple game using cocos2d-x and blackberry. I need

  • 0

Hi guys I am creating a simple game using cocos2d-x and blackberry. I need some place to store my game settings, something similar to shared preferences in ios and android. I found some code using qsettings, but the problem is I am not able to add the QtCore library.

I add the library using RightClick->configure->add Library and Standard BlackBerry Platform Library. The library gets added successfully.

#include "dataProcessor.h"
#include <QtCore>

void dataProcessor::setup(){
    QDir dir;
    dir.mkpath("data/files/text");
    dir.cd("data/files/text");
}

but when I compile the above code, I get the error C:/Users/I076636/Documents/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore/qatomic.h:45:28: fatal error: QtCore/qglobal.h: No such file or directory

But I noticed 2 things,
1.qglobal.h file is there inside the QtCore directory I have included.
2.inside qatomic.h if I change

#ifndef QATOMIC_H
#define QATOMIC_H

#include <QtCore/qglobal.h>
#include <QtCore/qbasicatomic.h>

into

#ifndef QATOMIC_H
#define QATOMIC_H

#include <qglobal.h>
#include <QtCore/qbasicatomic.h>

the error for qglobal goes and now the same error comes for qbasicatomic.h.

I think it is something simple like incorrect mapping between QtCore keyword and include directory or something..

Please do have a look.

The IDE is made on eclipse.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T23:26:10+00:00Added an answer on June 16, 2026 at 11:26 pm

    You can understand what is going wrong if you look closely at the error message:

    /target_10_0_9_1673/qnx6/usr/include/qt4/QtCore/qatomic.h:45:28:
    fatal error: QtCore/qglobal.h: No such file or directory
    

    The error isn’t in your inclusion of QtCore, but is occurring inside QtCore/qatomic.h, on line 45 (you can find this file in the [YOUR BBNDK DIRECTORY]/target_10_0_9_1673/qnx6/usr/include/qt4/QtCore/qatomic.h):

    #include <QtCore/qglobal.h>
    

    qatomic.h is already in the QtCore directory, and you’ll find a qglobal.h directory there as well. So what this means is that qatomic.h expects the parent directory to be on the include path, so that including <QtCore/qglobal.h> will work.

    So you just need to add [YOUR BBNDK DIRECTORY]/target_10_0_9_1673/qnx6/usr/include/qt4 to your include directories.

    Do it like this:

    1. Right click over your project in Project Explorer and choose Properties
    2. Expand the tree to C/C++ General / Paths and Symbols
    3. Change the Configuration in the Paths and Symbols frame to [All configurations]
    4. Click the Includes tag and select GNU C in the Languages list (or do this for every language).
    5. Click Add... and type ${QNX_TARGET}/usr/include/qt4 and press OK
    6. Click Add... and type ${QNX_TARGET}/usr/include/qt4/QtCore and press OK

    Now your include of #include <QtCore> should work.

    Next up: linking errors 😉

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Hey guys I'm creating a game similar to farmville in java and I'm just
Hi guys I'm creating a very simple socket server that lets its clients save
Hey guys I have a simple create method with some validations and whenever the
I'm creating a simple GUI app using Tkinter with Python, but I'm having problems
I am trying to add some simple tenancy support to an app, creating an
So with the help of you guys I finished creating my very simple image
Guys I'm having some troubles subclassing an UIView. I'm creating an IconView. Simply it's
Hi guys i am creating a validation for checking if the user has selected
Ok guys I'm creating an application in CodeIgniter that utilizes the Facebook SDK, both
How would you guys go about creating a real-time search engine on .Net platform.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.