Do not copy necessary library Qt/QML file .bar deployment on the Playbook

I use Qt 4.8.3 with ndk 2.1.0 for Playbook. I follow the instruction through

1. http://supportforums.blackberry.com/t5/Native-Development/How-to-port-your-Qt-Projects-to-Playbook/t...

2. http://qt-project.org/wiki/Building_and_Deploying_Qt_Applications_to_the_Playbook

But the library files are not copied to .bar file. It's my .pro file

TEMPLATE = app

# Please do not modify the following line.
include(qmlapplicationviewer/qmlapplicationviewer.pri)
# Additional import path used to resolve QML modules in Creator's code model
QML_IMPORT_PATH =

TARGET = samegame

# The .cpp file which was generated for your project. Feel free to hack it.
SOURCES += main.cpp

OTHER_FILES += \
    qml/samegame/samegame.qml \
    qml/samegame/highscores/scores.php \
    qml/samegame/highscores/score_style.xsl \
    qml/samegame/highscores/score_data.xml \
    qml/samegame/highscores/README \
    qml/samegame/SamegameCore/qmldir \
    qml/samegame/SamegameCore/samegame.js \
    qml/samegame/SamegameCore/Dialog.qml \
    qml/samegame/SamegameCore/Button.qml \
    qml/samegame/SamegameCore/BoomBlock.qml \
    qml/samegame/SamegameCore/pics/yellowStone.png \
    qml/samegame/SamegameCore/pics/star.png \
    qml/samegame/SamegameCore/pics/redStone.png \
    qml/samegame/SamegameCore/pics/redStar.png \
    qml/samegame/SamegameCore/pics/greenStone.png \
    qml/samegame/SamegameCore/pics/greenStar.png \
    qml/samegame/SamegameCore/pics/blueStone.png \
    qml/samegame/SamegameCore/pics/blueStar.png \
    qml/samegame/SamegameCore/pics/background.png \
    bar-descriptor.xml \
    qmlapplicationviewer/qmlapplicationviewer.pri

QMAKE_LFLAGS += '-Wl,-rpath,\'./app/native/lib\''

package.target = $${TARGET}.bar
package.depends = $$TARGET
package.commands = blackberry-nativepackager \
    -devMode -debugToken /Users/zhu_qichao/Desktop/Research In Motion/playbook/debugtoken1.bar \
    -package $${TARGET}.bar -arg -platform -arg blackberry \
    bar-descriptor.xml $$TARGET \
    -e $$[QT_INSTALL_LIBS]/libQtCore.so.4 lib/libQtCore.so.4 \
    -e $$[QT_INSTALL_LIBS]/libQtGui.so.4 lib/libQtGui.so.4 \
    -e $$[QT_INSTALL_LIBS]/libQtOpenGL.so.4 lib/libQtOpenGL.so.4 \
    -e $$[QT_INSTALL_LIBS]/libQtNetwork.so.4 lib/libQtNetwork.so.4 \
    -e $$[QT_INSTALL_LIBS]/libQtDeclarative.so.4 lib/libQtDeclarative.so.4 \
    -e $$[QT_INSTALL_PLUGINS]/platforms/libblackberry.so plugins/platforms/libblackberry.so \
    -e $$[QT_INSTALL_IMPORTS]/Qt/labs/particles/libqmlparticlesplugin.so imports/Qt/labs/particles/libqmlparticlesplugin.so

QMAKE_EXTRA_TARGETS += package

The compiled .bar file are less than 1 M. I have check the sandbox in playbook by QNX IDE. There is no library file. Can anyone help? Thank you.

I finally find out the reason.

1. DO NOT USE 'SPACE' IN YOUR FOLDER. IT MAY NOT BE RECOGNIZED CORRECTLY BY SHELL SCRIPT.

2 disable "Create a Package" step in the project-> Run configuration.

Tags: BlackBerry Developers

Similar Questions

  • When opening a PDF file, a new tab will open, but it will be empty, it do not download or open any pdf file, it just started the last 3 days...!

    Hello
    I'm about to remove Firefox from my computer because he lost hours of my time, and none of the online troubleshooting answers are no help.

    Until recently, I was able to open PDF files in my browser window, and today its impossible to open any pdf file, it will not download if I choose to download it.

    This issue is ongoing, and shut down for almost a year and I downloaded the Nitro PDF module to solve previously as Adobe reader add-on did nothing. Today in the menu options of applications where I can choose the program I want to open PDF files with I can't find the option NitroPDF reader, so I chose the add-on Adobe and no matter how many restarts it refuses to open all PDFs, all I get is a new tab open and empty.

    Internet Explore opens PDFs very well, so I know it's not computer associate.

    I'm running Windows Vista Ultimate, Firefox Version 19.0.

    If there is a way to fix this, please help because I am currently at the end of my patience.

    Kind regards

    Emre

    19 FF has its own Viewer for pdf files. It doesn't seem to work properly. The screens are either poor quality or empty. Printing using the bad characters and spacing of bad character. Some impressions of color and others are not.

     Thankfully, it is easy to revert to using some other pdf viewer, such as Foxit. Go to Tools / Options / Applications and scroll down to "Portable Document Formay (PDF)", and change it to your preferred pdf viewer.
     Your problem is solved!
    
  • How will I know if my library's ePub files is stored in the iCloud?

    Hello everyone,

    I have a question: How can I know if the shape of pubs in my library are stored in the iCloud?

    Is there a sign or something to know? And if they are not stored in the iCloud, how can I do to save them, save them in the computer?

    Thank you

    I would be very much appreciated if someone could respond.

    Are these books purchased as you talk.

  • Windows does not start gives a 0xcooooo98 code file:ntoskrnl.exe and the status

    I went to microsoft update, and important updates of downloaded and my startup collapsed Windows I tried each seting I could find that it keeps telling me that a file is missing or corupted is there anything I can do to set the file

    http://www.windowsreference.com/Windows-Vista/fix-for-ntoskrnlexe-missing-or-corrupt-error-0x0000098-when-booting-up-Vista/

    Read the information above.

    We do not know what type of disc of Vista you have.

    Try these steps to do a Startup Repair:

    Restore point:

    Try typing F8 at startup and in the list of Boot selections, select Mode safe using ARROW top to go there > and then press ENTER.

    Try a restore of the system once, to choose a Restore Point prior to your problem...

    Click Start > programs > Accessories > system tools > system restore > choose another time > next > etc.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

     

    If restore work not and you do not have a Vista DVD from Microsoft, do a repair disc to do a Startup Repair:

    Download the ISO on the link provided and make a record of repair time it starts.

    Go to your Bios/Setup, or the Boot Menu at startup and change the Boot order to make the DVD/CD drive 1st in the boot order, then reboot with the disk in the drive.

    At the startup/power on you should see at the bottom of the screen either F2 or DELETE, go to Setup/Bios or F12 for the Boot Menu.

    When you have changed that, insert the Bootable disk you did in the drive and reboot.

    http://www.bleepingcomputer.com/tutorials/tutorial148.html

    Link above shows what the process looks like and a manual, it load the repair options.

    NeoSmart containing the content of the Windows Vista DVD 'Recovery Centre', as we refer to him. It cannot be used to install or reinstall Windows Vista, and is just a Windows PE interface to recovering your PC. Technically, we could re-create this installation with downloadable media media freely from Microsoft (namely the Microsoft WAIK, several gigabyte download); but it is pretty darn decent of Microsoft to present Windows users who might not be able to create such a thing on their own.

    Read all the info on the website on how to create and use:

    http://NeoSmart.net/blog/2008/Windows-Vista-recovery-disc-download/

    ISO Burner: http://www.snapfiles.com/get/active-isoburner.html

    It's a very good Vista startup repair disk.

    You can do a system restart tool, system, etc it restore.

    It is NOT a disc of resettlement.

    And the 32-bit is what normally comes on a computer, unless 64-bit.

    See you soon.

    Mick Murphy - Microsoft partner

  • 5530th envy: printer will work from Mac but will not copy/print by itself. Paper comes out of the Virgin.

    The printer will scan to the Mac and print from the Mac, but there is no copy/print to the printer. It is on a wireless network.

    Good afternoon @MsAllie,.

  • copy or duplicate in sharing files cannot point

    IM currently on 5.0.15 Server with OSX 10.11.3 3 computers (clients) on OSX 10.11.5 and have found that they can not copy or duplicate in sharing files to point to the server. When you attempt to reproduce or copy a file you get the following message "unable to connect to the server because the name or password is incorrect." However copy on another share point is fine. Just won't work in this share point. Moving the file is fine. Any other Client computers are on OSX 10.11.4 or lower do not experience this problem. Should I update it with OS and App Server and hope that this question will far more recent?  Thank you

    I just checked using the latest version of the Server 5.1.5 and client OS X 10.11.5. and duplication and copying files works very well for the actions of the SMB and AFP.

    If you have only tested using higher level, create a folder and see if the problem occurs when you are working on files inside this folder. If it isn't, then you have your bad permissions/ownership/ACL on the server. You should check the ACL as well as Posix ownership and permissions.

    Also, try to remove the part in the sharing Panel and then Server to add it again.

    C.

  • All OfficeJet5610v in a HP: HP printer will print but not copy

    HP printer will print, but not copy.  This computer printout, will be printed over the clouds, will analyse and will fax, very well. However, he suddenly stopped making copies. The scanner bar through the glass and lights, but he won't have a copy. All pages Gush in white.

    Hello @MTAI,

    Welcome to the Forums of HP Support!

    I would like to help you today to address the issue of copies in white that you encounter during the copy of your HP Officejet 5610v all-in-One Printer. To be honest, this problem looks more because of printing system, rather than a failure of the copy. The reason is because the copy uses the same exact material like scanning components. Because you are able to scan without problem on your computer Windows 8.1, we know that copy/scanning mechanism works within your printer. However, when you print from your computer, if the document is sent to your printer as a file of type 'image' the ink color is used to 'do' or 'enrich' the black ink. Therefore, your machine may be appearing in print in fine black ink of your computer, when in reality, it's just the color ink making the black color. When you copy from your printer, if you decide to make a copy of only black ink black will be used. If you choose to make a color copy will only color ink. To check if the cartridges and the print in your printer system working properly, I'll make you start troubleshooting by a quality diagnostic report print to your printer. Can I please you follow the steps below.

    How to print a report of quality diagnostic:

    1. Make sure the product is on and not used, plain white paper loaded.
    2. On the Control Panel, support on * and #, then press 1, 2, and 7.
    3. Press the right arrow key () until the reports displayed on the control panel and press OK.
    4. Press the left arrow button () until the vpp self test displays on the control panel and press OK. The test page will print.

    • (1) printed by the right cartridge
    • (2) printed by the left cartridge
    • If this report print with color and black: that the problem you are experiencing is not caused by your printing system. On the contrary, there may be a problem of programming that takes place within your printer which is originally the function copy to fail, while the scan function continues to work. Can I please have you check on your computer that your scan function always works right now.
    • If this report prints with lack of color or lack of black ink: that the problem you are experiencing is actually caused by a conflict of printing system in your printer, rather than a failure of the copy. To solve this problem please can I you click here. Once the support document opens, please run through the second step, step 3, step 4 and step 5. This includes measures void under the steps listed to complete. Once the troubleshooting is complete please try to copy again.

    Please reply to this message with the result of your troubleshooting. I look forward to hear from you!

  • rigistery settings for this app were not copied correctly microsoft Highway and travel

    At the opening of streets MS & travel 2011 I get this error "your registry settings for this application were not copied correctly.  Run put in place againfor this application from the location where you installed worginally. "I did that 3 timees I deleted the program and reinstalled in 2 and still Lems the same error when I try to open the program.

    ... Your registry settings for this application were not copied correctly.  Race againfor implemented this application from the location where you installed worginally...

    You probably need to run the installer as administrator with elevated permissions to correctly make the necessary registry changes.

    Uninstall the program via the applet of Add / Remove Programs of the Control Panel then locate the installer from the disc or download and right click and select run as administrator. Acknowledge the UAC confirmation and provide credentials if required, proceed through the installation normally.

    Microsoft Streets & Trips should operate normally after completing the installation.
  • To access the properties of QML context through several QML files

    It seems so basic, but I don't see how well...

    I put a 'WebAPI' context property to access my class that makes HTTP requests etc. WebAPI works very well main.qml, but when I try and use it in the included LargeThumbItem.qml I get:

    "LargeThumbItem.qml:37: ReferenceError: can't find variable: WebAPI.

    How to set a context property that is available for * all * my QML files? What is the best practice for this?

    hand. QML

    {

    ...

    {ListItemComponent}

    type: 'point '.

    LargeThumbItem {

    }

    }

    ....

    }

    LargeThumbItem.qml

    {

    ....

    WebAPI.getImagePath (...)

    ...

    }

    I do the usual configuration...

    QmlDocument * qml = QmlDocument::create("asset:///main.qml").parent(this);

    QML-> setContextProperty ("WebAPI", m_pWebAPI);

    I tried calling qml-> documentContext()-> setContextProperty(), but it did not work. Is there a global context that I can put all documents will inherit? (the API documentation seems to suggest there is).

    This problem is related to what is described here and the solution is the same. The problem is that the ListItemComponents have a different context and lifecylce due to the fact that they are cached in and out as the scrolls of the ListView (see here for details).

    I solved it by adding a dynamic property on the global object of 'Qt' for example in onCreationCompleted() or anywhere where the senses in main.qml. In my case, I chose to pass a string, because I don't know if the global property to the instance around WebAPI is a good idea.

    Qt.homeListBaseURL = WebAPI.getImagePath ("TitleImagePathPrefix", "170 x 240")

    Then in LargeThumbItem.qml for example

    {WebImageView}

    ...

    URL: Qt.homeListBaseURL + ListItemData.ContentId + '.jpg '.

    ...

    }

  • RMAN-03009: failure of the delete command on... ORA-19606: can not copy or rest

    a server using 11.2.0.1.0 Suse Linux
    set up the catalog db, db main & job... almost anything with the company Manager
    keep backups 14 days

    To make 14 landfills full online, I had to archive active mode and try to get rid of these unwanted extra files.
    Additional I do every night (less til no db activity) a dump and I compress it.

    After a few days the backupjob complain that it cannot delete the old files.

    EM / manage all backups / cuts across all the)
    OVERLAP BACKUPSET;
    DUPLICATION OF COPY;
    )
    sucessful

    EM / manage all backup / delete older backups
    DELETE NOPROMPT OBSOLETE;
    )
    has failed.
    result of the script
    (
    Recovery Manager: release 11.2.0.1.0 - Production on kill 7 Sep 17:20:55 2010
    Copyright (c) 1982, 2009, Oracle and/or its affiliates. All rights reserved.
    RMAN >
    connected to target database: < SID > (DBID = 773091283)
    RMAN >
    connected to the recovery catalog database
    RMAN >
    echo on
    RMAN > DELETE NOPROMPT OBSOLETE;
    RMAN retention policy apply to the order
    RMAN retention policy is set to 14 days recovery window
    allocated channel: ORA_DISK_1
    channel ORA_DISK_1: SID = 196 type device = DISK
    Remove the following obsolete backups and copies:
    Making key time filename/handle type
    Control 3831 August 3, file copy 10/opt/oracle/base/product / 11 gR 1/db/dbs/snapcf_ < SID > .f
    18750 23 August 10 backup set
    Save the song 18754 23 August 10/srv/ora/data/flash_recovery_area / < SID > / o1_mf_nnndf_BACKUP_/2010_08_23/backupset < SID >CH0_673c0hbp_.bkp
    18751 23 August 10 backup set
    Save the song 18755 23 August 10/srv/ora/data/flash_recovery_area / < SID > / o1_mf_nnndf_BACKUP_/2010_08_23/backupset < SID >CH0_673c0hbo_.bkp
    19479 24 August 10 backup set
    ...
    Save the 19482 24 August 10/tmp/o0lm3qh9_1_1 song
    19490 24 August 10 backup set
    ...
    Game backup 20087 Aug 24, 10
    Save the song 20089-24 August 10/srv/ora/data/flash_recovery_area / < SID > /autobackup/2010_08_24/o1_mf_s_727891232_677n40r3_.bkp
    RMAN-00571: ===========================================================
    RMAN-00569: = ERROR MESSAGE STACK FOLLOWS =.
    RMAN-00571: ===========================================================
    RMAN-03009: failure to delete the order on ORA_DISK_1 channel at 2010-09-07 17:20:57
    ORA-19606: can not copy or restore snapshot control file
    "exit";
    Complete recovery manager.
    )

    Google found some questions, but not editing responses.

    So far:
    -J' checked folder & users rights.
    -J' found some files in /tmp/ - yes I have "backup" the archivelogs saved to-delete files in / tmp - I only active archivelogmode so that I can onlinebackup
    -J' managed to connect via rman and run REMOVE OBSOLETE manual - result above.
    -Real I delete the game one by one to find the set of problems. (delete backupset 12345) in the list manually.


    Some a good idea of what went wrong?

    additional: is there a way to let the oracle to remove the archvielog directory-empy after you remove newspapers to breast?

    18:00 - the order "> of RMAN BACKUP CURRENT CONTROLFILE ' also fails.

    Edited by: 793286 the 07.09.2010 09:00

    You must have connected an SR with Oracle's Support.

    Hemant K Collette

  • InDesign CC 2014 has not copied through shortcuts or preferences

    Open InDesign CC 2014, after getting a random update for my Creative series installation of all new programs, only to find that it has not copied through any of my shortcuts or preferences under the part highlighted "seamless update" of "what's new".

    Really disappointing considering the amount of questions I've had with InDesign since the previous CC updated a couple of weeks ago.

    Does anyone know an easy solution? Or do I go and set up my shortcuts and preferences again?

    You can also migrate manually Edit preferences > migrate previous local settings.

    Transparent update will bring the settings from the same locale that is to say if you have InDesign CC (International English) and that you have installed InDesign CC 2014 (International English) then will migrate the settings but if you have installed InDesign CC 2014 (North America), the settings will not migrate. This feature supports the previous version of CS6, so this won't work if you have CS5.5 and older settings.

  • Access to files on the playbook

    My apologies for the simple question; I dug around the documentation but can't find a clear answer.

    I want to copy some files (via usb) on the playbook, lets say, I copy a directory myinfo in the top-level folder of my playbook from a PC, the file contains:

    • a txt file
    • a jpg file
    • and an mp3 file

    From an application written using the native SDK, I see the directory 3 files it contains? or can I only access mp3 files via a shared directory / music (so lose all the info on the book and does not see the other 2 files with it)

    Thank you very much

    It and surrounding the docs should answer many of your questions: https://developer.blackberry.com/native/documentation/com.qnx.doc.native_sdk.devguide/com.qnx.doc.na...

    You mention "top-level folder", but notes that no application can write either in the folder root (i.e. /) nor can they write to the top-level folder.  They can only write to their own. / file data or with specified permission (access_shared) for the subfolders of shared /.

    But to answer the specific question, with the specified access_shared, your application can certainly access all files under shared, even if they are music which are written out of the shared directory files / music.  You could say most of these records are to be used for various system, but a given application can do something different, if she wants to.  In some cases that may mean giving some features of the system, but no doubt it is a choice, you'd do a base case once you understand the system better.

  • How to open file RPD biee10g in the administration biee11g BI tool?

    Hello

    I have a file of RPD biee10g as reference. However, I have not biee10g. How to open file RPD biee10g in the administration biee11g BI tool?

    Thank you

    Hello

    You must have install the obiee 11g, and then upgrade your RPD.

    Installation steps:
    Part1 - http://www.skurabigroup.com/blog/?p=676
    Part2 - http://www.skurabigroup.com/blog/?p=700
    Part3 - http://www.skurabigroup.com/blog/?p=719

    Update as follows:

    http://www.adivaconsulting.com/Adiva-blog/item/18-obiee11g-upgrade.html

    Thank you
    Oldia...

  • iTunes error: the library iTune .itl file is locked. On a locked disk or you do not write to this file permission

    Original title: iTunes

    I have just updated from XP to 7. I downloaded Windows Easy Transfer, but it wouldn't work if I copied all my files on my external drive myself.

    Once Windows 7 had loaded, I started to transfer them to my computer.

    I tried just down load iTunes 10.1.1 from the internet, and everything seemed to go ok.

    But iTunes is not working and I get the following message "the library iTune .itl file is locked. "On a locked disk or youdo not write permissionfor this file."

    I saw this message on iTunes support and it is said that the 'My music' folder is located in the default location in Windows XP.

    Does that mean I lost my music and what should I do to be able to access/download the iTunes player.

    I have songs on different drives so I have quite lost music. I am simply unable to play my iTunes library because I can't access the drive.

    Thank you.

    P.s. I'm not very good with computers.

    Hello
     

    Change the permissions on the folder / my music/itunes (and all subfolders and files) so that it is not "read-only".
    Here's how:
    a. by doing a right click on the name of the iTunes folder, and then select Properties.
    b. you will see the read-only check box. Make sure it is disabled.
     
    Topic: The iTunes Library.itl file is locked
    http://discussions.Apple.com/thread.jspa?threadID=2678797&TSTART=0
     
    Topic: iTunes Library.itl file is locked on a locked disk or no write permission
    http://discussions.Apple.com/thread.jspa?threadID=2051801
     
    Topic: iTunes Library.itl file is locked?
    http://discussions.Apple.com/thread.jspa?threadID=1578017
     
    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • [LR4] Could not copy a file at the location requested

    Hello

    All of a sudden started to experience this problem when you try to import * all * images (jpeg or cr2). Tried to import the camera card SD and a folder on the desktop. You do not permission issues.

    Error:

    Some import operations were not performed.

    Could not copy a file at the location requested. (XX)

    System information:

    Lightroom version: 4.0 [814577]

    Operating system: Windows 7 Enterprise edition

    Version: 6.1 [7601]

    Application architecture: x 64

    System architecture: x 64

    Physical processor count: 4

    Processor speed: 3.3 GHz

    Built-in memory: 8175,1 MB

    Real memory for Lightroom: 8175,1 MB

    Real memory used by Lightroom: 251.5 MB (3.0%)

    Virtual memory used by Lightroom: 230.3 MB

    Memory cache size: 0.0 MB

    System DPI setting: 96 DPI

    Composition of the Bureau enabled: Yes

    Exhibition: 1) 1920 x 1080, 2) 1920 x 1080

    The application folder: C:\Program Files\Adobe\Adobe Photoshop Lightroom 4

    Library path: C:\Users\xxxxx\Pictures\Lightroom\Lightroom 4 Catalog.lrcat

    Settings folder: C:\Users\xxxxx\AppData\Roaming\Adobe\Lightroom

    I tried to uninstall Lightroom and reinstalling, tried to create a new catalog - same question. Any help would be appreciated.

    Resolved:

    It turns out that LR was attempting to import to/Users/User/Pictures instead of C:\Users\User\Pictures.

    Don't know how it happened that I wouldn't change a thing - I'm just glad things are working again.

Maybe you are looking for