Skip to content

Qt on BlackBerry and QNX

Qt on BlackBerry and QNX
103 Topics 587 Posts
QtWS25 Last Chance
  • How to run QNX terminal in qws?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Configure Qt5 on QNX 6.5.0 sp1

    13
    0 Votes
    13 Posts
    16k Views
    E
    [quote author="Rondog" date="1385603145"]It sounds like you don't have the variable QNX_TARGET set properly. On my system it is set like this: QNX_TARGET="/Users/ron/bbndk-2.1.0/target/qnx6" ... If you do have it set then maybe the location is wrong?[/quote] Thank you for answer. QNX_TARGET variable in my QNX system sets to /usr/qnx650/target/qnx6 I suggest, that error in file /qt-everywhere-opensource-src-5.1.1/qtbase/mkspecs/common/qcc-base-qnx.conf @... QNX_DIR = $$(QNX_TARGET) isEmpty(QNX_DIR) { error("QNX_TARGET environment variable not set") } QMAKE_INCDIR = $${QNX_DIR}/usr/include $${QNX_DIR}/usr/include/freetype2 QMAKE_LIBDIR = $${QNX_DIR}/$${QNX_CPUDIR}/lib $${QNX_DIR}/$${QNX_CPUDIR}/usr/lib QMAKE_LFLAGS += -Wl,-rpath-link,$${QNX_DIR}/$${QNX_CPUDIR}/lib -Wl,-rpath-link,$${QNX_DIR}/$${QNX_CPUDIR}/usr/lib ...@ Result of this script qcc -Vgcc_ntox86 -o "/qt-src-5.1.1/qtbase/bin/qmake" project.o ... -lang-c++ -Wl,-rpath-link,$(QNX_TARGET)/x86/lib -Wl,-rpath-link,$(QNX_TARGET)/x86/usr/lib looks like a wrong. I suppose, that instead QNX_TARGET variable must be value of QNX_TARGET. Also unknown -rpath-link parameter present. May be typo error? All my attempts to correct script were unsuccessful
  • QtCreator 3.0 beta?

    3
    0 Votes
    3 Posts
    3k Views
    I
    Thanks for replying Thomas! "These instructions":http://qt-project.org/wiki/Qt-Creator-with-BlackBerry-10 are pretty recent, updated last monday according to wiki. They cover Qt Creator 3.0 and API level 10.2.0.1155, so they should be fairly up-to-date. I know Momentics itself isn't used, but as far as I can tell the QNX plugin does use the toolchain and precompiled Qt libs from BB. Or not? My menus and settings don't include any BlackBerry stuff. That's the problem.
  • Qt app calling QNX custom library

    2
    0 Votes
    2 Posts
    2k Views
    C
    You will need the includes and the libxxx.a file. In the pro file: LIBS += %path%libXXX.a INCLUDEPATH += %PATHTOTHELIBHEADERS% That should do. Maybe you also could set this up over Momentics, but good luck with that...
  • Momentics: adding a global define to a buildconfiguration

    2
    0 Votes
    2 Posts
    4k Views
    C
    So I got a working solution. First the bad part: that isn't possible over the IDE. You will need to add a new buildtarget. First in the pro file, myconfig{ DEFINES += MYDEFINE } will add the define in this configuration. Next thing is to copy the make targets from mk/cs-base.mk (in target/.../include folder). for example: Device-Debug-myconfig:arm/Makefile-myconfig //then copypaste of Device-Debug rule arm/Makefile-myconfig:/* copy paste arm/Makefile rule*/ add CONFIG+=myconfig ... Now, you are setup, last thing is to change the make build target of you build configuration to the new Device-Debug-myconfig rule. Repeat for every build configuration and needed make-target. Thanks to Elena Laskavaia for pointing me at this solution :)
  • Roaming detection app for bb 10

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Installation of Qt in QNX

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • When will Qt 5.1 runtime be available in Blackberry OS firmware?

    3
    0 Votes
    3 Posts
    3k Views
    A
    I know that and I've also asked on BB forum...no one knows that!
  • Put a line break in the app name

    5
    0 Votes
    5 Posts
    4k Views
    J
    Add two spaces between the words you want on separate lines. <name>Part1 Part2</name>
  • [SOLVED] Launch failed at app deployment

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • QPainter::drawText() issues with bb10

    9
    0 Votes
    9 Posts
    7k Views
    B
    So it is not possible to draw text using the Momentics??? That'd be bummer I think my stuff is almost good to go if I could just draw some text on my graphics. I'm drawing on QImage via QPainter it was looking so good until I tried to add some Text, BB10 documentation is pretty poor. SIGSEGV when I tried to call drawText
  • BB10 QtGui on simulator

    4
    0 Votes
    4 Posts
    3k Views
    D
    Cascades is BlackBerry UI toolkit built on Qt Quick. Qt Quick have only primitives like Rectangle, MouseArea, Gradient and etc. Combining those Cascades gives you various buttons, menus and etc. You can still use BB10 APIs from your non-Cascades app.
  • Virtual keyboard in QT/QML app seems doesn't work

    3
    0 Votes
    3 Posts
    3k Views
    L
    Hi Fabian, So sad, but seems to be true. Only Cascades apps has the full featured BB10 keyboard. :|
  • Sms messages (in-out). What functions do I need?

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • How to create a settings Menu?

    3
    0 Votes
    3 Posts
    4k Views
    N
    Hi Rondog, thanks for your help, your source code is very interesting, I will try to implement it. My project uses MainWidget, the original version of the project (Symbian) used MainWindow. I tell you that a week ago I heard of Qt for BlackBerry, I want to port my app. The most important functions of the app are: Send and receive SMS automatically (Not ported) Making and accepting requests http automatically (ported) Sqlite data base management (ported) The quality of the graphical interface is secondary. Apparently Qt Creator has limitations, I will try to implement the most important functions (Send and receive SMS automatically). If I solve the problem, I will continue with the GUI, but if I have problems I'll have to start using BlackBerry Native SDK. Thank you very much.
  • BlackBerry Qt Gui Application

    8
    0 Votes
    8 Posts
    4k Views
    N
    Coldpeace, I did what you said (cleaned the projects, set the right kit). It works (only with new proyects). My proyect (symbian) don't works. Now I will copy-paste the source code, look for the error. Thank you very much to all.
  • 0 Votes
    2 Posts
    2k Views
    B
    It should be possible to utilize the nokia plugin. If you are using Qt5, there is an OpenStreet maps one afaik. The position plugin for Blackberry is not yet upstream in Qt5 but will probably be available soon.
  • Simulate Touch Events on BB10

    2
    0 Votes
    2 Posts
    3k Views
    B
    Hi, are you using QtGui or Cascades and which Qt version? I think there are several ways to do that. Did you already look into the qnx platform plugin? The touch events are sent with QWindowSystemInterface::handleTouchEvent(w, m_touchDevice, pointList); So you could hack it into the platformplugin somehow. Another possibility would be to inject a bps screen touch event into the qt event loop. You might want to have a look at: QQnxBpsEventFilter::nativeEventFilter(const QByteArray &eventType, void *message, long *result) and: http://developer.blackberry.com/native/reference/bb10/screen_libref/topic/function_types.html
  • Qt-components on BB10

    4
    0 Votes
    4 Posts
    3k Views
    T
    I was referring to BB10's Cascades which supposedly is different from the Qt Quick Controls (aka. Qt Desktop Components). I have to admit that I only ever tried to run demo apps shipped with the SDK on BB10 to test the creator integration, so I may be wrong.
  • Deploy to device problem

    8
    0 Votes
    8 Posts
    3k Views
    F
    Txs Bomb3rman I'll get it.