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 8012059
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T19:12:51+00:00 2026-06-04T19:12:51+00:00

I have a Qt app I submitted to Apple Mac App Store. It’s been

  • 0

I have a Qt app I submitted to Apple Mac App Store. It’s been rejected for writing to ˜/Library/Preferences/com.mycompany.myapp

here’s the message I received:

2.30

The application accesses the following location(s):

'~/Library/Preferences/com.nourayn.AlMosaly.plist'

The application may be 

* creating files
* writing files
* opening files for Read/Write access (instead of Read-Only access)

in the above location(s).

How to fix this?

  • 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-04T19:12:53+00:00Added an answer on June 4, 2026 at 7:12 pm

    I presume you’re saving your application settings using QSettings. Your code probably looks like this:

    QApplication app;
    app.setOrganizationDomain("nourayn.com");
    app.setApplicationName("AlMosaly");
    QSettings settings; // this creates a .plist file under ~/Library/Preferences
                        // which is non-MacAppStore-friendly
    

    Instead, you can create your QSettings with an explicitly specified filename:

    app.setOrganizationDomain("nourayn.com");
    app.setApplicationName("AlMosaly");
    QSettings settings(yourAppDataFolder+"/settings.plist", QSettings::NativeFormat);
                        // this writes to the file you specified
    

    If you use QSettings at multiple places in your app, doing this might ease things a little:

    // in main.cpp
    app.setProperty("SettingsFileName", yourAppDataFolder+"/settings.plist");
    
    // in someotherfile.cpp
    QString settingsFileName = qApp->property("SettingsFileName").toString();
    QSettings settings(settingsFileName, QSettings::NativeFormat);
    

    Moreover, if you have a com.trolltech.plist file in ~/Library/ (which stores Qt global settings), you may need to move to Qt 4.8.1. More info here:
    http://qt-project.org/doc/qt-4.8/qsettings.html#changing-the-location-of-global-qt-settings-on-mac-os-x

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

Sidebar

Related Questions

I've recently submitted an application to the Mac App Store and have received an
Hi I submitted my first application to the appStore http://itunes.apple.com/at/app/section-control/id343824642?mt=8 This displays English as
Apple recommends cropping out the status bar from screenshots submitted to the app store.
I recently submitted an app to Apple and sadly it was rejected. The reason
I have an application in the app store. I have submitted 3 updates to
I have successfully submitted and got approved my app in the app store. Now
I have an iPad app that I submitted to Apple successfully using my personal
I have just created an iPhone application and submitted it to Apple Store. The
I have submitted an iPhone app to Apple for approval and distribution. What do
Ive submitted my first app and it has been approved. But I have a

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.