Skip to content

Mobile and Embedded

The forum for developing everything embedded: Linux, WinCE, Symbian, MeeGo... you name it.
14.1k Topics 62.5k Posts
  • QWheelEvent on Android

    5
    0 Votes
    5 Posts
    2k Views
    K
    There are quite a few Android PCs available now, using mouse and keyboard, and a mouse or a wireless mouse is used quite often together with an Android Set Top Box connected to a TV. The mouse wheel is supported in many Android applications, e.g. the browser. So the wheel exists in Android, and is supported by Android. Android Apps can react on mouse wheel events, see also http://stackoverflow.com/questions/11024809/how-can-my-view-respond-to-a-mousewheel Example Java code from the link above, I guess this could be added to QtActivity: @@Override public boolean onGenericMotionEvent(MotionEvent event) { if (0 != (event.getSource() & InputDevice.SOURCE_CLASS_POINTER)) { switch (event.getAction()) { case MotionEvent.ACTION_SCROLL: if (event.getAxisValue(MotionEvent.AXIS_VSCROLL) < 0.0f) selectNext() else selectPrev(); return true; } } return super.onGenericMotionEvent(event); }@ And IMHO we need the mouse wheel supported in Qt for Android too, of course.
  • [SOLVED] Mysql driver not compile in QT 5.3 for Android

    19
    0 Votes
    19 Posts
    8k Views
    SGaistS
    It's all shown in the wiki entry you mentioned earlier
  • What video files can play QMediaPlayer on Andoroid?

    1
    0 Votes
    1 Posts
    600 Views
    No one has replied
  • Toradex Apalis imx6 + Qt5.3.1 + X11 (Angstrom)

    1
    0 Votes
    1 Posts
    2k Views
    No one has replied
  • Cross compile Boost in a QT project

    7
    0 Votes
    7 Posts
    2k Views
    S
    You must compile Boost ./bootstrap.sh ./bjam ./bjam install. After that you can use it
  • Android on Win8.1 - QtSystems Addon Compilation

    7
    0 Votes
    7 Posts
    2k Views
    metaDomM
    on windows the compilation will not go through since the lack of QtDBus, I'll try a linux compilation in a few...
  • Examples/templates for integrating Android/iOS native code

    2
    1 Votes
    2 Posts
    2k Views
    SGaistS
    Hi, Indeed, the forum is not the best place for these suggestions. Feature suggestions should be posted on the "bug report system":http://bugreports.qt-project.org If you can find a volunteer that would implement that, then even better, the more participate, the quicker it can go. There's already examples in the android and mac "extras" modules from Qt
  • Qt on iPad, application icon

    1
    0 Votes
    1 Posts
    680 Views
    No one has replied
  • Does Multitouch work on iOS and Android

    1
    0 Votes
    1 Posts
    676 Views
    No one has replied
  • How to build and download binary to im6

    3
    0 Votes
    3 Posts
    727 Views
    H
    The Qt enterprise embedded is x64 bit but my system is 32 bit. what should be done?
  • [Semi-solved] Releasing trough Ministro crashes application

    4
    0 Votes
    4 Posts
    1k Views
    O
    Problem solved for the Galaxy Tab 3 10.1: The tab only emulates armeabi so the application works if i use qt's dynamic linking, but fails if i use ministro since ministro will download the necessary x86 librarys for the armeabiv7a application.
  • Android: QTcpSocket issue

    3
    0 Votes
    3 Posts
    3k Views
    M
    Indeed I have those permissions : @ <uses-permission android:name="android.permission.ACCESS_WIFI_STATE"/> <uses-permission android:name="android.permission.INTERNET"/> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>@ Whent the socket state is ClosingState or UnconnectedState the socket error is "Transport endpoint is not connected"
  • Want to configure Qt5 for Wandboard-solo board

    5
    0 Votes
    5 Posts
    1k Views
    SGaistS
    This forum is a community forum, so if you are in such a hurry then you should consider hiring a professional to help you e.g. Digia, KDAB, ICS etc.
  • Using GPIO on Pi

    4
    0 Votes
    4 Posts
    11k Views
    B
    Hi, Maybe you can also multitasking using a QThread and check there all the interrupts, if something happen, you can emit a signal @ class Interrupt: public QThread{ Q_OBJECT public: void setNextEvent(bool arg); bool getNextEvent(); protected: void run(); private: QMutex mMutex; bool state; signals: void mySignal(); } @ @void Interrupt::run(){ while(true){ if(rpiGpio.readPin(17) == mmapGpio::LOW && getNextEvent()){ setNextEvent(false); emit mySignal(); } else if(rpiGpio.readPin(17) == mmapGpio::HIGH && !getNextEvent() ){ setNextEvent(true); } QThread::msleep(100); } } void Interrupt::setNextEvent(bool arg){ mMutex.lock(); state = arg; mMutex.unlock(); } bool Interrupt::getNextEvent(){ bool ret; mMutex.lock(); ret = state; mMutex.unlock(); return state; } @
  • Problem with the design when run on Android

    1
    0 Votes
    1 Posts
    438 Views
    No one has replied
  • QScreen grabwindow for Android

    2
    0 Votes
    2 Posts
    1k Views
    A
    Same problem here, I want to get the current rotation of screen on android, how to do it using the QScreen class?
  • How to adjust QT Creator for cross-compilation with QT5 in Windows

    3
    0 Votes
    3 Posts
    1k Views
    T
    Thanks for reply. I just started to build qmake in Windows, but I've got a problem: make process unexpected crashes with the message: @This is the Qt for Windows Open Source Edition. You have already accepted the terms of the license. Creating qmake... Makefile:13: *** missing separator. Stop. Makefile:13: *** missing separator. Stop. Cleaning qmake failed, return code 2 @ The part of qmake Makefile is: @#AutoGenerated by configure.exe BUILD_PATH = F:\Qt\qt-5.3.1\qtbase SOURCE_PATH = F:\Qt\qt-5.3.1\qtbase INC_PATH = F:\Qt\qt-5.3.1\qtbase\include QT_VERSION = 5.3.1 QMAKESPEC = linux-arm-gnueabi-g++ !IF "$(QMAKESPEC)" == "win32-msvc" || "$(QMAKESPEC)" == "win32-msvc.net" || "$(QMAKESPEC)" == "win32-msvc2002" || "$(QMAKESPEC)" == "win32-msvc2003" || "$(QMAKESPEC)" == "win32-msvc2005" || "$(QMAKESPEC)" == "win32-msvc2008" || "$(QMAKESPEC)" == "win32-msvc2010" || "$(QMAKESPEC)" == "win32-msvc2012" || "$(QMAKESPEC)" == "win32-msvc2013" || "$(QMAKESPEC)" == "win32-icc" !if "$(SOURCE_PATH)" == "" SOURCE_PATH = .. !endif !if "$(BUILD_PATH)" == "" BUILD_PATH = .. !endif QMKSRC = $(SOURCE_PATH)\qmake specific stuff for NMake and ICC !if "$(QMAKESPEC)" == "win32-icc" CXX = icl LINKER = link CFLAGS = /Zc:forScope !else CXX = cl LINKER = link !endif @ What the problem?
  • [SOLVED]Qt for Windows Phone problem

    6
    0 Votes
    6 Posts
    4k Views
    JKSHJ
    I'm glad to hear you've found a solution! Post your recommendation to https://bugreports.qt-project.org/ -- create a new Issue and select "Suggestion" instead of "Bug"
  • Start Activity for Result

    4
    0 Votes
    4 Posts
    2k Views
    J
    Hi, Is anyone found solution for this or is it not possible in qt?
  • QtFtp and Qt5.3.1 on imx6 undefined reference

    4
    0 Votes
    4 Posts
    2k Views
    sierdzioS
    Nice. Happy coding :-)