[BB10 - Extension Webworks - link to Qt and Cascades library]

Hello everyone (and RIM - Research In Motion - QNX Mometics - Qt).

I want to add an environment variable CONFIG += qt warn_on debug_and_release stunts for my extension, what do I do?

And I want to add the file *.pro for my extension project, what should I do?

Best regards

Dennis Ritchie.

My extension uses the same thing you are trying to do

There are a few hoops you have to jump through when writing extensions, but once past that they is not difficult

If you gimme an idea of what you are after using I can help properly

The simple rule is not Visual in the extension

Tags: BlackBerry Developers

Similar Questions

  • [Linker for Extension Webworks]

    Hi all

    Can I use a library Qt and Cascades for Webworks Extension [BB10]?

    Best regards

    Dennis Ritchie.

    QT: Yes, for the basic things. Waterfalls at the moment: No.

    See the DeviceInfo Extension for an example of one that connects against QtCore:

    https://github.com/BlackBerry/WebWorks-community-APIs/tree/master/BB10/deviceInfo

    Us also work on a model example that would use more Qt code, which seeks to support the things more advanced who is inspired by stunts. We have only done some preliminary research up to now:

    https://github.com/BlackBerry/WebWorks-community-APIs/issues/166

  • How to include the shared library of BlackBerry in a native extension WebWorks

    I developed a native extension WebWorks that works very well on Simulator and devices when included in a webworks app.

    I also have a sample of waterfalls project with the same code base that I use to test the WebWorks extension code.

    Since a large part of the code is reusable, I decided to create a shared library of BlackBerry, so I can reuse in other projects. When I include the NEW shared library in the waterfalls and then everything works well, as before.

    When I include it in the extension WebWorks it draws very well. The .so file size was much smaller and that worried me (I suspected that the shared library was not included in there). But since its construction very well I went trying to run my application webworks. When it came to hitting the extension I got a ' need of error. Cannot find the library of blah/blah/...so'.

    I had this before and found out that it was because the dependent QT libraries have not been correctly referenced. It so that the shared library is not properly referenced/copied /-thing... This event is supported? For example, by using a custom in a WebWorks extension shared library?

    It worked

    Version 2 is almost right

    In the library paths pane Add...

    ${workspace_loc: / / extlibs/device$ {ProjName}}

    for peripheral and do Simulator

    ${workspace_loc: / / extlibs/Simulator of ${ProjName}}

    Always with libname in libraries

    I just linked to unrar successfully like this library

    Whew - they do this hard work of stuff

  • Update installation problems: Code U44M1P7 in Extension Manger 6.0.4 and Illustrator and PS CS6

    Hello

    After installing several updates, I find several errors in the error log:

    "Installation issues updated: Code U44M1P7 in Extension Manger 6.0.4 and Illustrator and PS CS6.

    I use a Mac Book Pro with the retina and MAC OSX 10.7.5.

    What is the problem and how can I solve it?

    Best regards

    Frank

    Follow the instructions at the following link:

    http://helpx.Adobe.com/Creative-Suite/KB/error-u44m1p7-installing-updates-CCM.html

  • Failed to open all the links using safari and mail

    I can't open all links by safari and by e-mail. When I try to open the link it does not work and it will freeze. then I touch the original key two times to close the safari and the e-mail. How can I remedy this?

    Already, I erase history and Web site data and restart my phone.

    Please help me and give me a useful way! Thank you very much!

    As you can see if you read the forum, this is a known issue. Apple is working on a fix.

  • How can I fix the link between adobe and windows if I see .pdf not win32 application

    How can I fix the link between adobe and windows if I see .pdf not win32 application, without the disc?

    "Adobe" is the name of the company that provides a great many different applications.

    Adobe Reader is free and allows you to view pdf files.

    Adobe Acrobat is expensive and allows you to create, edit and view pdf files.

    Assuming that you are referring to the reader, uninstall all the versions of it using the control panel > add or remove programs.  Then either

    1. go to http://get.adobe.com/reader/?promoid=BUIGO and download the current version (remember to uncheck the box to install McAfee Security Scan Plus.

    or

    2. go to http://www.foxitsoftware.com/Secure_PDF_Reader/ and download Foxit Reader, a small pdf reader and many more.

    Then, install the reader that you have downloaded.

  • I can't download attachments in Windows Live, although I can view online when the link is there and can also download zip.

    Cannot download attachments in windows live, although can view online when the link is there and can also download zip. What has happened recently. I was always able to do until recently.

    original title: Windows Live Mail

    Hello

    The best place to ask your question of Windows Live is inside Windows Live help forums. Experts specialize in all things, Windows Live, and would be delighted to help you with your questions. Please choose a product below to be redirected to the appropriate community:

    Windows Live Mail

    Windows Live Hotmail

    Windows Live Messenger

    Looking for a different product to Windows Live? Visit the home page Windows Live Help for the complete list of Windows Live forums at www.windowslivehelp.com.

  • I deleted the links to Documents and photos on my start page.

    I deleted the links to Documents and photos on my start page. Link names are still there, but they are going nowhere. How is it possible to recreeate the new links that are actually going to My Documents and pictures? I also cleaned my basket so that is no longer an option.

    Try this to return to the system settings to before you changed anything.

    Restore point:

    http://www.howtogeek.com/HOWTO/Windows-Vista/using-Windows-Vista-system-restore/

    Do Safe Mode system restore, if it is impossible to do in Normal Mode.

    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.

    http://www.windowsvistauserguide.com/system_restore.htm

    Read the above for a very good graph shows how backward more than 5 days in the System Restore Points by checking the correct box.

    See you soon.

    Mick Murphy - Microsoft partner

  • Advertising with BB10 HTML5 + WebWorks service does not work

    I'm trying to integrate the advertising service of Blackberry with BB10 HTML5 + WebWorks. Is this currently supported?

    https://developer.BlackBerry.com/HTML5/APIs/BlackBerry.advertising.banner.html

    I tried implementing the following examples above but no luck.

    Thank you

    Govind.

    The Blackberry advertising service is not currently available for Blackberry 10 gold Webworks SDK.

  • custom for bb10 extensions

    can be customized for bb10 extensions just with java?

    It's true.

    Extensions are now written in C/C++.  Here's the documentation https://developer.blackberry.com/html5/documentation/creating_extensions_for_bb10_apps.html

  • 'illegal start of expression' error then you are trying to compile an Extension WebWorks

    Hello

    I'm trying to compile a simple Extension of work Web to show a Dialog.alert (), just a simple code to start with Extensions WebWorks. The problem is that when I try to compile my code with javac I get many 'illegal start of expression' errors on the scene who has any errors. Here is the log from the console:

    Nathan-Camposs-MacBook-Pro:webworks Nathan$ javac -source 1.3 -target 1.3 -deprecation -classpath /Developer/Applications/Eclipse/plugins/net.rim.ejde.componentpack6.0.0_6.0.0.43/components/lib/net_rim_api.jar -sourcepath /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/*
    
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:15: illegal start of expression
        public static final String FIELD_ALERT = "alert";
        ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:15: illegal start of expression
        public static final String FIELD_ALERT = "alert";
               ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:15: ';' expected
        public static final String FIELD_ALERT = "alert";
                     ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:16: illegal start of expression
        private Alert _callAlert;
        ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:18: illegal start of expression
        public AlertScriptable() {
        ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:18: ';' expected
        public AlertScriptable() {
                                ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:22: illegal start of expression
        public Object getField(String name) throws Exception {
        ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:22: ';' expected
        public Object getField(String name) throws Exception {
                              ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:22: ';' expected
        public Object getField(String name) throws Exception {
                                          ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:22: not a statement
        public Object getField(String name) throws Exception {
                                                   ^
    /Users/Nathan/BlackBerry/WebWorksTest/webworks/src/org/webworks/os/interation/AlertScriptable.java:22: ';' expected
        public Object getField(String name) throws Exception {
                                                            ^
    11 errors
    

    Any ideas?

    Best regards

    Nathan Campos

    I solved this. I was saying that all inside a constructor.

    I'm sorry.

  • allows you to set the callback function to extension webworks

    I see in BBM webworks API, the callback function (blackberry.bbm.platform.onaccesschanged) is defined as a field variable, then call the register function.

    Is the only way to pass a callback to webworks?

    You can pass a callback function as a parameter to a function call?

    In my exercise, I tried to define an acceptable extension webwork function a ScriptableFunction as one of the parameters.  When I pass the function() {alert("test")} as an argument, the webwork expansion feature does not work. The debugger displays the webworks function is not called when I try to get to the function as an argument.

    June

    Hi June,

    A callback function right at the method as fact in good number of our API, you can actually pass. On the top of my head, take a look at the readFIle API. You can find the source of the code here - https://github.com/blackberry/WebWorks/blob/master/api/io/src/main/java/blackberry/io/file/ReadFileF...

    You should be able to move from the ScriptableFunctions back with no problems

  • What are originally Windows 7 junctions and the attributes of the symbolic link, security properties and Windows registry entries, supposed to be?

    To the right, or Ronnie Vernon:

    What are the original Windows 7 junctions and symbolic link attributes, properties security (full) and entries in Windows registry, supposed to be set?  And is there a Fix - it from Microsoft to reset the?  Or, is it a Microsoft Fix - it to recreate them, if they are missing (deleted)?

    Here is my list of the original Windows 7 junctions and symbolic link:

    Documents and Settings (junction)
    ["C:\Documents and Settings" (junction) = "C:\Users" (target)]

    Application data (junctions)
    ["C:\ProgramData\Application Data" (junction) = "C:\ProgramData" (target)]
    ["C:\Users\Default\AppData\Local\Application Data" (junction) = "C:\Users\Default\AppData\Local" (target)]
    ["C:\Users\Default\Application Data" (junction) = "C:\Users\Default\AppData\Roaming" (target)]
    ["C:\Users\ (UserName) \AppData\Local\Application Data" (junction) = "C:\Users\ (UserName) \AppData\Local" (target)]
    ["C:\Users\ (user name) change Data" (junction) = "C:\Users\ (UserName) \AppData\Roaming" (target)]

    Desktop computer (junction)
    ['C:\ProgramData\Desktop' (junction) = "C:\Users\Public\Desktop" (target)]

    Documents (junction)
    ['C:\ProgramData\Documents' (junction) = "C:\Users\Public\Documents" (target)]

    My Documents (junctions)
    ["C:\Users\Default\My Documents" (junction) = "C:\Users\Default\Documents" (target)]
    ["C:\Users\ (UserName) \My Documents" (junction) = '\Documents C:\Users\ (UserName)"(target)]

    Favorites (junction)
    ['C:\ProgramData\Favorites' (junction) = "C:\Users\Public\Favorites" (target)]

    Menu start (junctions)
    ["C:\ProgramData\Start Menu" (junction) = "C:\ProgramData\Microsoft\Windows\Start Menu the" (target)]
    ["C:\Users\Default\Start Menu" (junction) = 'C:\Users\Default\AppData\Roaming\Microsoft\Windows\Start the Menu"(target)]
    ['C:\Users\ (UserName) \Start Menu' (junction) = "C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\Start Menu" (target)]

    Models (junctions)
    ['C:\ProgramData\Templates' (junction) = "C:\ProgramData\Microsoft\Windows\Templates" (target)]
    ['C:\Users\Default\Templates' (junction) = "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Templates" (target)]
    ["\Templates C:\Users\ (UserName)' (junction) = 'C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\Templates' (target)]

    All users (SymLinkD)
    ["C:\Users\All users" (SymLinkD) = "C:\ProgramData" (target)]

    Default user (junction)
    ["User C:\Users\Default" (junction) = "C:\Users\Default" (target)]

    History (junctions)
    ['C:\Users\Default\AppData\Local\History' (junction) = "C:\Users\Default\AppData\Local\Microsoft\Windows\History" (target)]
    ["\AppData\Local\History C:\Users\ (UserName)' (junction) = 'C:\Users\ (UserName) \AppData\Local\Microsoft\Windows\History' (target)]

    (Junctions) temporary Internet files
    ["C:\Users\Default\AppData\Local\Temporary Internet Files" (junction) = 'C:\Users\Default\AppData\Local\Microsoft\Windows\Temporary Internet Files"(target)]
    ["C:\Users\ (UserName) \AppData\Local\Temporary Internet Files" (junction) = "C:\Users\ (UserName) \AppData\Local\Microsoft\Windows\Temporary Internet Files" (target)]

    Cookies (junctions)
    ['C:\Users\Default\Cookies' (junction) = "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Cookies" (target)]
    ["\Cookies C:\Users\ (UserName)' (junction) = 'C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\Cookies' (target)]

    My music (junctions)
    ["C:\Users\Default\Documents\My Music" (junction) = "C:\Users\Default\Music" (target)]
    ["C:\Users\ (UserName) \Documents\My Music" (junction) = '\Music C:\Users\ (UserName)"(target)]

    My photos (junctions)
    ["C:\Users\Default\Documents\My Pictures" (junction) = "C:\Users\Default\Pictures" (target)]
    ["C:\Users\ (UserName) \Documents\My Pictures" (junction) = "C:\Users\ (UserName) \Pictures" (target)]

    My videos (junctions)
    ["Video C:\Users\Default\Documents\My" (junction) = "C:\Users\Default\Videos" (target)]
    ["C:\Users\ (UserName) \Documents\My vidéos" (junction) = "C:\Users\ (UserName) \Videos" (target)]

    Local settings (junctions)
    ["C:\Users\Default\Local Settings" (junction) = "C:\Users\Default\AppData\Local" (target)]
    ["C:\Users\ (UserName) \Local Settings" (junction) = "C:\Users\ (UserName) \AppData\Local" (target)]

    Neighborhood Network (junctions)
    ['C:\Users\Default\NetHood' (junction) = "Shortcuts C:\Users\Default\AppData\Roaming\Microsoft\Windows\Network" (target)]
    ["\NetHood C:\Users\ (UserName)' (junction) ="C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\Network shortcuts"(target)]

    Print neighborhood (junctions)
    ['C:\Users\Default\PrintHood' (junction) = "Shortcuts C:\Users\Default\AppData\Roaming\Microsoft\Windows\Printer" (target)]
    ["\PrintHood C:\Users\ (UserName)' (junction) ="C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\Printer shortcuts"(target)]

    The latter (junctions)
    ['C:\Users\Default\Recent' (junction) = "C:\Users\Default\AppData\Roaming\Microsoft\Windows\Recent" (target)]
    ["\Recent C:\Users\ (UserName)' (junction) = 'C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\Recent' (target)]

    SendTo (junctions)
    ['C:\Users\Default\SendTo' (junction) = "C:\Users\Default\AppData\Roaming\Microsoft\Windows\SendTo" (target)]
    ["C:\Users\ (UserName) \SendTo" (junction) = 'C:\Users\ (UserName) \AppData\Roaming\Microsoft\Windows\SendTo' (target)]

    (End of list)

    JPD

    Hi all

    I found answers to my question on "Windows 7 Help Forums" http://www.sevenforums.com/> and a program to recreate and fix all the original Windows 7 hubs and symlink [attributes and security properties (full)], called 'Junction box' [site Web of Documentation: http://iwrconsultancy.co.uk/junctionbox>; and the download Web site: http://sourceforge.net/projects/junctionbox/?source=dlp>].

    I also found that there are more original than those listed above junctions.  My advice is to remove all the junctions, you could have recreated manually (or move them to your backup drive) before running "JunctionBox.exe" (using its configuration file "DefaultJunctions.ntj").  Then run it two or three times; because it is not recreate all the original joints the first time you run it.  It recreates the together the legacy of windows (see below), by default (C:\Users\Default), all users (C:\Users\All) and the current user (C:\Users\%UserName%), junctions on the first throw, but not the junctions of temp (C:\Users\Temp) and their targets. - you must re-create the junction target temp manually, yourself, if you want them to run.

    Here is MY updated 'Junction Box' 'DefaultJunctions_2.ntj' list of configuration files (list of all the original Windows 7 junctions):

    ; ===(Start of List) =.

    ; A list of the standard set of junctions in Vista and Windows 7, for the purpose of repair.
    ;
    ; The notation is as follows:
    ;  Section headers are userprofile-records unless otherwise noted by a full path.
    ;  Paths starting with a-specify a full path to the system root. (Usually C:\)
    ;  Starting paths by are relative to the container profile. (Usually C:\users)
    ;  Location paths and junction target are compared to [value] section header without qualifier.
    ; Default profile settings apply to all generic users when profiles are repaired.
    ; You can add sections for specific users, if it is not normally necessary.
    ; Wildcard characters or macros other that those listed above are not allowed.
    ; Junctions will be created using the target-full paths, regardless of the values relative or complete here.
    ; Note: Non-English speaking users will need to create their own file, sorry.

    [General]

    ; Displays warning if incompatible OS or system-language is found.
    OSVersions = WIN_VISTA, WIN_7, WIN_2008, WIN_2008R2, WIN_LONGHORN
    OSLanguages = 0409, 0809

    ; Force the creation of junctions in system or user files, or both.
    ; = 1 recreates (parts of)-structure of profile folders missing. Relatively safe to use.
    ; = 2 strength deletes any file, folder or the junction occupying the location target.
    ; -valuable when it comes to corrupt junctions, but use them carefully because may delete data.
    ; Default value is to leave alone the existing junctions and add only those missing, but set correct permissions on all.
    SystemForceCreation = 0
    UserForceCreation = 0

    ; The following sections refer to disk files and necessary for each, junctions as JunctionName = JunctionTarget.

    [\]
    Documents and Settings = @

    [\ProgramData]
    Application data = \ProgramData
    Desktop=@\Public\Desktop
    Documents=@\Public\Documents
    Favorites=@\Public\Favorites
    Start = Menu Microsoft\Windows\Start menu
    Templates = Microsoft\Windows\Templates

    [@]
    Default user = default

    [All users]
    Application data = \ProgramData
    Desktop=@\Public\Desktop
    Documents=@\Public\Documents
    Favorites=@\Public\Favorites
    Start = \ProgramData\Microsoft\Windows\Start Menu menu
    Templates = \ProgramData\Microsoft\Windows\Templates

    [Public]
    Documents\Ma music = music
    Documents\My pictures = pictures
    Documents\My videos videos =

    [Default]
    ; (intentionally blank)

    [Default]
    Application data = AppData\Roaming
    Cookies = AppData\Roaming\Microsoft\Windows\Cookies
    Locale = AppData\Local
    My Documents = Documents
    Neighborhood Network = AppData\Roaming\Microsoft\Windows\Network shortcuts
    Print neighborhood shortcuts = AppData\Roaming\Microsoft\Windows\Printer
    Recent = AppData\Roaming\Microsoft\Windows\Recent
    SendTo = AppData\Roaming\Microsoft\Windows\SendTo
    Start = Menu AppData\Roaming\Microsoft\Windows\Start menu
    Templates = AppData\Roaming\Microsoft\Windows\Templates
    AppData\Local\Application data = AppData\Local
    AppData\Local\History = AppData\Local\Microsoft\Windows\History
    AppData\Local\Temporary Internet Files = AppData\Local\Microsoft\Windows\Temporary Internet files
    Documents\Ma music = music
    Documents\My pictures = pictures
    Documents\My videos videos =

    [% Username %]

    ; (Replace above [%nom user %] [(ID)] - variable may not work!)

    ; (Same as the default value)
    Application data = AppData\Roaming
    Cookies = AppData\Roaming\Microsoft\Windows\Cookies
    Locale = AppData\Local
    My Documents = Documents
    Neighborhood Network = AppData\Roaming\Microsoft\Windows\Network shortcuts
    Print neighborhood shortcuts = AppData\Roaming\Microsoft\Windows\Printer
    Recent = AppData\Roaming\Microsoft\Windows\Recent
    SendTo = AppData\Roaming\Microsoft\Windows\SendTo
    Start = Menu AppData\Roaming\Microsoft\Windows\Start menu
    Templates = AppData\Roaming\Microsoft\Windows\Templates
    AppData\Local\Application data = AppData\Local
    AppData\Local\History = AppData\Local\Microsoft\Windows\History
    AppData\Local\Temporary Internet Files = AppData\Local\Microsoft\Windows\Temporary Internet files
    Documents\Ma music = music
    Documents\My pictures = pictures
    Documents\My videos videos =

    [Temp]
    ; (Same as the default value)
    Application data = AppData\Roaming
    Cookies = AppData\Roaming\Microsoft\Windows\Cookies
    Locale = AppData\Local
    My Documents = Documents
    Neighborhood Network = AppData\Roaming\Microsoft\Windows\Network shortcuts
    Print neighborhood shortcuts = AppData\Roaming\Microsoft\Windows\Printer
    Recent = AppData\Roaming\Microsoft\Windows\Recent
    SendTo = AppData\Roaming\Microsoft\Windows\SendTo
    Start = Menu AppData\Roaming\Microsoft\Windows\Start menu
    Templates = AppData\Roaming\Microsoft\Windows\Templates
    AppData\Local\Application data = AppData\Local
    AppData\Local\History = AppData\Local\Microsoft\Windows\History
    AppData\Local\Temporary Internet Files = AppData\Local\Microsoft\Windows\Temporary Internet files
    Documents\Ma music = music
    Documents\My pictures = pictures
    Documents\My videos videos =

    ; ===(End of list) =.

    MY updated the 'Junction Box' 'DefaultJunctions_2.ntj' configuration file should do the job in the first race of the program.

    JPD

  • What is the difference between native SDK and Cascades/qt?

    Hi all

    Can someone tell me what is the difference between native SDK and Cascades/QT?

    When I need to go to NativeSDK and when I go to waterfalls?

    These two works in BB 10 or only Tablet?

    Please delete me, I can't live without knowing this.

    Thanks in advance.

    Hi Smiley,

    Yes, you need to install the two NDKs. They coexist and separate IDEs and install files.

    See you soon

    Swann

  • My cc of dreamweaver does not link, server behaviors and data display

    My cc of dreamweaver does not link, server behaviors and data display

    Hello

    Please read this thread-

    https://forums.Adobe.com/thread/2139846

Maybe you are looking for