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

  • Home
  • SEARCH
  • 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 8625023
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T07:40:44+00:00 2026-06-12T07:40:44+00:00

[FYI: I’ve got the answer, and I’m in process of writing the solution. This

  • 0

[FYI: I’ve got the answer, and I’m in process of writing the solution. This post is only for reference for others with similar problem]


I’m working on some small application on Symbian-Belle platform. Everything was doing well until I’ve hit a place where I had to parse a few JSON files. I’ve found a QJson library, which seemed very relevant and easy to use (although it seems to return everything as QVariantMap, which probalby is not that lightweight..).

This library is however not provided in a precompiled form. It is source-only. Fortunatelly, it is prepared to compile under QtCreator’s Symbian projects.

After some initial setups and minor fixes, everything ran smoothly on the Simulator, so, the next step was to run it on the real device. Here some problems began. After building, linking, deploying and installing, the IDE told me:

Launch failed: Command answer [command error], 1 values(s) to request: ‘C|4|Processes|start|””|”MyApp.exe”|[“”]|[]|true’
#0 {“Code”:-46,Format=”Failed to create the process (verify that the executable and all required DLLs have been transferred and that the process is not already running) (permission denied)”}
Error: ‘Failed to create the process (verify that the executable and all required DLLs have been transferred and that the process is not already running) (permission denied)‘ Code: -46

The launch process instantly was aborted. Of course the application was launching properly back when the json-related code and library was not yet added to the project..

I’ve checked the suggested thing and the QJson library was indeed properly installed on the device, so it was not about missing files. Also, the application it self has been properly installed too: I could even try to run it manually. Doing that resulted in an error:

Unable to execute file for security reasons

What is going on? How to fix it?

  • 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-12T07:40:45+00:00Added an answer on June 12, 2026 at 7:40 am

    The problem really lies in the security features of the Symbian platform. It turns out to be not related to Qt at all.

    You see, both EXE and DLL projects may be marked with ‘Capabilities’ that specify what special platform features are used by the code. For example, if you try to read device-specifi data, you need ReadDeviceData capability.

    Capabilities are embedded into the binary files that are installed on the device. The Symbian build system requires them to be defined in a .PKG file, but if you use current Nokia/Qt tools, all those files are autogenerated by the build process. For Qt projects, the capabilities are specified in the .pro file, for example:

    TARGET.CAPABILITY += ReadDeviceData
    

    Now, the trick is that the while EXE and DLL use the exactly same Capability flags, then for EXE and DLL the same capabilities mean something else.

    • for an EXE, they mean “What the Application is allowed to use?”
    • for a DLL, they mean “What applications are safe to use this DLL?”

    It is quite tricky to see the difference at the first time you think about it.

    • if EXE has flag X, then the OS grants this application the access to some X API
    • if DLL has flag X, that means that it may be safely used by applications that have X flag

    Please note that for DLLs the meaning is somewhat turned the other way round: applications that user some hyper-secure flags like AllFiles cannot use DLLs which does not have those flags.

    The reasoning is simple: if I use XYZ flag, and if the DLL is not marked as safe-to-use with this flag, then I’m not safe to use that DLL and I cannot load it.

    Here’s this even written on Nokia’s Symbian documentation:
    http://www.developer.nokia.com/Community/Wiki/Shared_Library_DLLs_on_Qt_for_Symbian#Capabilities

    This means that you must ensure that all DLLs (that are used by your app) have at least as wide Capabilities as your app.

    For my problems with QJson library, the solution was to simply add NetworkServices to the QJson/src/src.pro file. My application was using this flag, because it downloaded some data from the internet. Thus, the library has to be marked as safe-to-use with network. I cannot fanthom why it wasn’t marked with that flag in the first place. Probably the authors simply forgot, as it is quite obvious that JSON-parser will be used in network-enabled applications.. I’m going to drop them a note.


    This concludes my problem-solution case I wanted to write about. I’ve posted a longer version with a bit broader explanations at: http://quetzalcoatl-pl.blogspot.com/2012/10/notes-on-symbian-qt-qjson-dlls-and.html

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

Sidebar

Related Questions

Solution Guys... FYI i am using xampp to use phpmyadmin. and this error happens
In this answer https://stackoverflow.com/a/8649429/1497 Eric Lippert says that FYI we are highly likely to
Thanks @Scotty, @paddy. FYI, the optimal solution is this: void RecSubsets(string soFar, string rest)
I've got a problem with one of my git repositories (FYI: I'm really new
FYI, This is very similar to my last question: Is there a faster way
FYI. ended up going with PDO solution as this was simpler. I'm trying to
FYI, There is some overlap in the initial description of this question with a
* FYI: I'm not using Adsense and this is not against my TOS... I
This code trims whitespace, (fyi: it's credited to be very fast) function wSpaceTrim(s){ var
This should be fairly simple; i'm pretty sure I've just not understood it. FYI,

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.