Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.2k Topics 62.7k Posts
  • iPad crash when using flickresize.qml example

    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    Can you test again with Qt 5.5 ?
  • 0 Votes
    1 Posts
    667 Views
    No one has replied
  • 0 Votes
    1 Posts
    1k Views
    No one has replied
  • 0 Votes
    1 Posts
    855 Views
    No one has replied
  • 0 Votes
    1 Posts
    538 Views
    No one has replied
  • QT on MQX RTOS (from Freescale)

    4
    0 Votes
    4 Posts
    2k Views
    SGaistS
    Did you try to contact Freescale about that ?
  • Problem with QGLWidget with Android

    2
    0 Votes
    2 Posts
    1k Views
    joaopagottoJ
    Solved in Qt 5.4 =D
  • Notification in iOS

    2
    0 Votes
    2 Posts
    728 Views
    A
    Do you mean push notifications or local notifications triggered locally within your app? They both have to be implemented in iOS native Objective-C code as of now. If you're not familiar with that you probably also might have a look at our plugins for such use cases at http://plugin.v-play.net. Best, Alex from V-Play
  • This topic is deleted!

    Locked
    0
    0 Votes
    0 Posts
    65 Views
    No one has replied
  • "program received signal -111" Fatal error on iOS

    ios signal
    7
    0 Votes
    7 Posts
    3k Views
    N
    Normally it calls others functions which manages the display, the first sequence receives datas from a bluetooth connection, the second sequence creates objects and displays them, the third one modifies them and the fourth one returns its value if it's changed by the user. For example, if I want to display a line Edit : I send a bluetooth trame with the instruction, the first sequence memorizes it, Then, in the second sequence, I create it and add it on the mainwindow, I add a texte and I modify some properties (like alignment, color, ...) in the third sequence, Finally, if the user change its text value, the fourth sequence returns the new one by bluetooth when the signal editingFinished() return true PS : Actually, I don't use bluetooth yet, I only fill an array which stand for buffer but after my tests are effective it will be replace by Bluetooth Low Energy
  • Qt Development Folder Structure

    5
    0 Votes
    5 Posts
    1k Views
    K
    @SGaist Thanks Sam! I understand.
  • How to use Qt with Windows 10 IoT Core (intel x86)?

    qt5 windows 10 iot
    1
    0 Votes
    1 Posts
    1k Views
    No one has replied
  • Transparent effect is not working in Qt5

    qt5 vs qt4 linux arm transparency
    13
    1 Votes
    13 Posts
    6k Views
    A
    @SGaist Thanks. I'll give it a look.
  • qt3d doesn't work on iPad (probably all iOS?)

    2
    0 Votes
    2 Posts
    560 Views
    SGaistS
    Hi, You should check the bug report system to see if it's something known
  • Get Qt example running on SAM9N12

    arm compiling qt compile
    29
    0 Votes
    29 Posts
    13k Views
    SGaistS
    What do you have where the syntax error occurs ?
  • 0 Votes
    4 Posts
    3k Views
    EddieE
    I found a solution I like better that posts a QFileOpenEvent. I like it better because in order to handle file open on OS X I had to subclass QApplication and give it a pointer to my MainWindow to handle the QFileOpenEvent. Now my OS X and iOS implementation are similar and easier to maintain. File: cmsapplication.h <pre> #include <UIKit/UIKit.h> #include <QDebug> #include <QFileOpenEvent> #include "qiosapplicationdelegate.h" /// \category QIOSApplicationDelegate(CmsApplicationDelegate) /// \abstract A category on QIOSApplicationDelegate to override openURL /// Use the Objective-C category feature to override the openURL method @implementation QIOSApplicationDelegate (CmsApplicationDelegate) /// Posts a QFileOpenEvent to QCoreApplication when iOS calls openURL. /// /// This allows userto open a TSR file from Apple Mail, /// select "Open in TSR", to launch TSR and pass openURL the /// file to open. /// /// Must add UTExportedTypeDeclarations and CFBundleDocumentTypes to your /// Info.plist for this to work. /// /// Example: Info.plist /// \verbatim /// <key>UTExportedTypeDeclarations</key> /// <array> /// <dict> /// <key>UTTypeConformsTo</key> /// <array> /// <string>public.data</string> /// </array> /// <key>UTTypeDescription</key> /// <string>Tracking Status Report</string> /// <key>UTTypeIdentifier</key> /// <string>com.ditchwitch.tsr</string> /// <key>UTTypeTagSpecification</key> /// <dict> /// <key>public.filename-extension</key> /// <string>tsr</string> /// <key>public.mime-type</key> /// <string>public.data</string> /// </dict> /// </dict> /// </array> /// <key>CFBundleDocumentTypes</key> /// <array> /// <dict> /// <key>CFBundleTypeIconFiles</key> /// <array> /// <string>Icon.png</string> /// </array> /// <key>CFBundleTypeName</key> /// <string>Tracking Status Report</string> /// <key>CFBundleTypeRole</key> /// <string>Editor</string> /// <key>LSHandlerRank</key> /// <string>Owner</string> /// <key>LSItemContentTypes</key> /// <array> /// <string>com.ditchwitch.tsr</string> /// <string>public.data</string> /// </array> /// </dict> /// </array> /// \endverbatim /// /// See file: cmsapplication.cpp /// \see cmsapplication.cpp /// /// \see https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/CustomizingExistingClasses/CustomizingExistingClasses.html /// (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { Q_UNUSED(application); Q_UNUSED(annotation); NSLog(@"sourceApplication: %@",sourceApplication); NSLog(@"url: %@",url); QString filePath = QString::fromNSString(url.path); qDebug("filePath %s", filePath.toLatin1().data()); QFileOpenEvent *fileOpenEvent = new QFileOpenEvent(filePath); QCoreApplication::postEvent(QCoreApplication::instance(), fileOpenEvent); return YES; } @end </pre> File: cmsapplication.cpp // class CmsApplication : public QApplication <pre> #if defined(Q_OS_OSX) || defined(Q_OS_IOS) // Looks for QFileOpenEvent to implement TSR file open from /// other apps, for example, Finder on OS X, or Apple Mail on iOS and OS X. /// /// /// \remarks Could this work on Android too? /// /// See file: cmsapplicationdelegate.mm /// \see cmsapplicationdelegate.mm /// bool CmsApplication::event(QEvent* event) { qDebug() << event->type(); // iOS receives ApplicationDeactivate, ApllicationStateChange, when Home is pressed // When iOS user opens Mail file attachment using "Open in TSR", ApplicationActivate event received but NOT QEvent::FileOpen switch (event->type()) { case QEvent::ApplicationActivate: { //clean(); if (false == m_mainWindow.isMinimized()) { m_mainWindow.show(); } return true; } case QEvent::FileOpen: { QString fileName = static_cast<QFileOpenEvent *>(event)->file(); m_mainWindow.openFile(fileName); return true; } default: break; } return QApplication::event(event); } #endif </pre>
  • Can I send an email from an app iOS?

    email ios
    2
    0 Votes
    2 Posts
    1k Views
    EddieE
    This works and can be interfaced to Qt but it requires user interaction. http://www.appcoda.com/ios-programming-101-send-email-iphone-app/ Sorry, I do not know how to send mail on iOS silently without user interaction. I would like to know if possible. -Ed
  • Working with QML files for iOS app

    ios
    8
    0 Votes
    8 Posts
    2k Views
    D
    @benlau Thanks for this example! Sorry for the late reply. I didn't see that you had responded.
  • Make an iPhone-only application

    ios qt5.4
    2
    0 Votes
    2 Posts
    711 Views
    A
    This should be the right way to go. This might however be a know bug: https://bugreports.qt.io/browse/QTBUG-45966 You can probably temporarily solve your problem by installing Xcode 6.2 from the Apple member center. Alex
  • post to http [SOLVED]

    8
    0 Votes
    8 Posts
    2k Views
    M
    Hi @p3c0 , I use Qt 5.4 for IOS/android. And install my program to my Android Phone. My partner use IAR to detect my request on server side. He told me that he don't receive my "Ssid" command from request link. But I had solved this problem by using setQuery method. Thank for you reply.^^