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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T01:34:28+00:00 2026-05-20T01:34:28+00:00

I tried to include files in my Qt program (for symbian) and ran it

  • 0

I tried to include files in my Qt program (for symbian) and ran it via the emulator. No files were exported. The code I’ve been using in my QMake file is:

symbian {
    TARGET.UID3 = 0xe22a34fe
    # TARGET.CAPABILITY += 
    TARGET.EPOCSTACKSIZE = 0x14000
    TARGET.EPOCHEAPSIZE = 0x020000 0x800000

    addFiles.sources = 01.jpg 02.jpg 03.jpg
    addFiles.path = .
    DEPLOYMENT += addFiles
}

OTHER_FILES += \
    03.jpg \
    02.jpg \
    01.jpg

As such, a call to QDir::entryInfoList() will reveal no files:

QDir dir = QDir::current();
dir.setFilter(QDir::Files | QDir::Hidden | QDir::NoSymLinks);
QFileInfoList list = dir.entryInfoList();
// list is empty.

Am I missing something in the .pro file?

  • 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-05-20T01:34:29+00:00Added an answer on May 20, 2026 at 1:34 am

    When you deploy these files, where are you expecting them to be placed?

    addFiles.path = .
    

    to me is indeterminate – the is no ‘current’ directory when the files are deployed.

    Provide a path you know exists. I’ve certainly used the app private directory for this purpose:

    addFiles.path = \private\e22a34fe
    

    …then you can get the directory of your files with

    QApplication::applicationDirPath()
    

    If you are running on the emulator, also check if the files are deployed. If you are using the ‘real’ Symbian emulator (rather than the rather horrible QT version), you’ll find the file system under epoc32\winscw

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

Sidebar

Related Questions

How do you pass a parameter into an include file? I tried the following
File formats I would like to play include .wav, .mp3, .midi. I have tried
I tried without any result. My code looks like this: #include stdafx.h #include <iostream>
I currently have a program where my main code is in a file main.cpp.
I'm attempting to run TextTransform.exe to generate code using a T4 template file. The
I write a C program with Xcode 4. I include some OpenSSL header files:
it's a basic program for array of pointer to objects. #include <iostream> using namespace
I need to echo entire content of included file. I have tried the below:
I tried to compile this example: #include <stdio.h> #include <stdlib.h> #include <stddef.h> main(){ size_t
I just don't get it. Tried on VC++ 2008 and G++ 4.3.2 #include <map>

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.