Skip to content
QtWS25 Last Chance
  • 6 Votes
    2 Posts
    1k Views
    SGaistS

    Hi,

    Thanks !

  • 2 Votes
    1 Posts
    2k Views
    No one has replied
  • 0 Votes
    2 Posts
    2k Views
    J.HilkJ

    Hi @tansgumus ,

    Apple is very conservative in allowing developers long term background threats/events.

    Taken from the Apple docu:

    Implementing Long-Running Background Tasks For tasks that require more execution time to implement, you must request specific permissions to run them in the background without their being suspended. In iOS, only specific app types are allowed to run in the background: Apps that play audible content to the user while in the background, such as a music player app Apps that keep users informed of their location at all times, such as a navigation app Apps that support Voice over Internet Protocol (VoIP) Newsstand apps that need to download and process new content Apps that receive regular update from external accessories Apps that implement these services must declare the services they support and use system frameworks to implement the relevant aspects of those services. Declaring the services lets the system know which services you use, but in some cases it is the system frameworks that actually prevent your application from being suspended.

    That said, a navigation app should fall in this category. But as it is, you're bound to do it in OBjective-C but its relative easy to include ObjectiveC code in Qt.

  • 0 Votes
    6 Posts
    2k Views
    SGaistS

    AFAIK, no. But you can check that yourself.

  • 4 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    12 Posts
    4k Views
    ekkescornerE

    here's the Blog: http://blog.qt.io/blog/2017/12/01/sharing-files-android-ios-qt-app/
    thx to all helping me with this

  • Qt & iPhone X & The Screen

    Solved Mobile and Embedded
    6
    1 Votes
    6 Posts
    5k Views
    J.HilkJ

    A quick update on this.

    Someone got asigned to it, and theres a workaround, in the in the broader sense of the word.
    There's the Qt::WindowStates flag Qt::MaximizeUsingFullscreenGeometryHint that you can set:

    //QWidgets: { //e.g. Constructor setWindowFlag(Qt::MaximizeUsingFullscreenGeometryHint, true); } //QML: import QtQuick.Window 2.1 // Import needs to be higher than 2.0 Window{ flags: Qt.MaximizeUsingFullscreenGeometryHint id: window ..... }

    now the App fills the whole screen in Portrait-and Landscapemode.

    Tor Arne Vestbø, to whom the ticket was asigned to, says an automatic content margin is in the making, but untill than one has to adjust the UI oneself.

    Tor Arne Vestbø said in QTBUG-64574:

    If you set the Qt::MaximizeUsingFullscreenGeometryHint window flag, the window will also cover the area under the statusbar, etc. But we don't have any APIs to automatically add margins for the inner content, the stuff you don't want under the statusbar, so for now you have to do that manually. I'm working on the latter as we speak.

    I had no idea, that that window flag existed, or was not aktivated by default - on mobile apps.
    I can work with that. The ticket is still open but my problems are solved. I'll close this topic.

  • 0 Votes
    3 Posts
    1k Views
    Q

    @QtDeveloping94 said in Access to IOS Camera Roll, implement .plist failes:

    NSPhotoLibraryUsageDescription

    That was it, thanks!

  • 0 Votes
    4 Posts
    1k Views
    SGaistS

    Did you completely read the iOS note of the function and the linked articles ?

  • 0 Votes
    1 Posts
    833 Views
    No one has replied
  • 0 Votes
    4 Posts
    2k Views
    S

    Hi @eLim

    I am also facing the same issue in my Qt iOS application. Could you please help me to understand what part of javascript, iOS is restricting as I am using Angular to develop the web application.
    Could you please provide more information what you did to resolve this issue.

    Thanks in advance.

  • QtChart & Gestures

    Unsolved Mobile and Embedded
    1
    0 Votes
    1 Posts
    738 Views
    No one has replied
  • 0 Votes
    8 Posts
    4k Views
    N

    @GTDev Thanks for the reply.
    I will go on with V-Play and try to implement my app with V-Play for now. But if anybody has another idea why this happens I would be grateful for cheering.

  • 0 Votes
    7 Posts
    4k Views
    S

    @farshad-bayat I think you have the same Problem as described here https://bugreports.qt.io/browse/QTBUG-59097

  • 2 Votes
    9 Posts
    4k Views
    ekkescornerE

    @ekkescorner @jpnurmi reminds me that there's a problem if you're using multi-line Text inside Flickable.
    just tested.
    He's right: as long as the TextArea has focus if you try to scroll the selection will be changed instead of scrolling the page.
    If you're outside the field scrolling works well

    I'll create a bugreport on this soon.
    my workaround: I'm placing a small button (w icon) besides the field to toggle word-selection-mode. just tested. this works.

    In most cases my TextFields are single line text where selection works well so I can live with this.

  • 0 Votes
    5 Posts
    3k Views
    ekkescornerE

    @SGaist thx - have thought the same.
    would work well if Active and bad coverage or coming back from suspended when multi signals are received

  • 0 Votes
    6 Posts
    2k Views
    P

    @SGaist One way to see console output could be to open the system log. Tried, but I can't find it there either. Any hints?
    Any way to simulate iPad 2 instead of iPhone 6S?

  • 0 Votes
    8 Posts
    4k Views
    C

    Build Qt qml plugin for iOS (static plugin)

    Plugin Pro file like flow:
    TEMPLATE = lib
    TARGET = iostestqmlplugin
    QT += qml quick
    CONFIG += qt plugin c++11 static
    uri = IosQmlPluginTest # module name
    QMAKE_MOC_OPTIONS += -Muri=$$uri # static plugin must use this

    2.qmldir file
    module IosQmlPluginTest
    plugin iostestqmlplugin
    typeinfo plugins.qmltypes #static plugin required
    classname IosqmlpluginPlugin # static plugin must set classname for plugin c++ class

    TimeLabel 1.0 qrc:/TimeLabel.qml # your self qml document

    3.qrc file must contains qmldir file, Qt default put qmldir in qrc file with prefix likes: “/qt-project.org/imports/your-plugin-modele-name”, You can special yourself prefix but must endwiths “your-plugin-module-name” and in main cpp need add addImportPath(eg: engine.addImportPath(“qrc:/your-self-prefix-not-contains-your-plugin-module-name”))

    4.put plugins.qmltypes, qmldir and plugin library files together into where Qt install dir’s sub fold name qml($$[QT_INSTALL_QML] Qt default serach path), maybe you can special yourself path in your app pro file by variable QMLPATHS(QMLPATHS += /your/plugin/path)

    Init the plugin resources(contains qmldir) at plugin c++ class construction function like:Q_INIT_RESOURCE(your-qrc-file-name);

    6.pulugins.qmltypes file it’s required. can gernerate by qmlplugindup tool.

    7.refrence QtWebView plugin project from Qt source

    usually error:
    1.static plugin for module “QtQuick” with name “your-module-name” has no metadata URI
    fix by add in pro file:QMAKE_MOC_OPTIONS += -Muri=$$URI #URI = your-module-name
    thanks from:https://github.com/wang-bin/QtAV/issues/368

    2.Plugin “your-module-name” is missing a classname entry
    fix by add in qmldir file: classname your-plugin—c++-name
    Reference http://doc.qt.io/qt-5.6/qtqml-modules-qmldir.html

    module “your-plugin-module-name” is not installed
    fix by: Qmldir file must in plugin qrc file, plugins.qmltypes need in the plugin dir and special in qmldir
  • 0 Votes
    7 Posts
    4k Views
    T

    @TheCrowKaka Yes, we now have the same solution running on Windows desktop, Android and iOS, basicly using this method: https://www.kdab.com/efficient-barcode-scanning-qzxing/

  • 0 Votes
    11 Posts
    6k Views
    ekkescornerE

    @VRonin said in Encrypt String (RSA x509) Android, iOS:

    @ekkescorner I only now read your username. Sorry for treating you as "not an expert" in network and/or password encryption.

    I think you still have 2 options apart from OpenSSL:

    Use Android's built in encryption with QAndroidJniObject: https://www.example-code.com/android/rsa_encryptstrings.asp use CryptoC++ https://www.cryptopp.com/wiki/RSA_Cryptography

    thx for this worthful info - will try CryptoC++ - need solution for Android and iOS