Hi,
i`m trying to develop simple ubuntu application. This application should connect to remove mysql server, query and display data in UbuntuListView. Project was created in Qt Creator 3.1.1 as QML app with c++ plugin (cmake).
In my cpp class, i connect to mysql server using QSqlDatabase db = QSqlDatabase::addDatabase("QMYSQL"); according to qt documentation.
On my desktop (ubuntu 14.04) application works fine (after installing libqt5sql5-mysql), but when i tried to run this application on my aquaris E4.5 ubuntu edition (using Framework ubuntu-sdk-14.10) i got this error:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE
Open database: false
I have found package libqt5sql5-mysql 5.3.0+dfsg-2ubuntu9 (armhf binary) for utopic unicorn. In qt creator, under Tools->Options->Ubuntu, I clicked on Maintain button in Framework ubuntu-sdk-14.10 and install that package. But this didn`t solve my problem.
Do yo have any ideas ?
If you want to include said libaries, you need to ship them as .so files in your click package. Don't ask me how to do it (I don't know in this specific case), but simply installing it in your chroot won't work.
Related
is there an android emulatur to Windows7 as can run Android applications?
It's included in the Android SDK, based on QEMU.
I have downloaded the windows version here: http://developer.android.com/sdk/index.html, and installed it, but how did I start the emulator, sow I can install my Android applications ?
http://gupl.dk/64386/
Virtual Devices seems like a very obvious hint, doesn't it
I can not figure out what to do about this error, can not understand what is meant by "Hint: use '@ foo' to launch a virtual device named 'foo'."
I have set up a virtual drive - see attached picture.
invalid command-line parameter: Files\Android\android-sdk\tools/emulator-arm.exe.
Hint: use '@foo' to launch a virtual device named 'foo'.
http://gupl.dk/64502/
http://gupl.dk/64503/
http://gupl.dk/64504/
You installed in Program Files and the android tools don't like spaces in their path.
UBUNTU 10.04 LINUX
This is is easy way to s7/s7 slim fans to have complete linux Ubuntu 10.04 on tablet and have power in hands and you can with hdmi cable have complete pc
Requirements:
- android phone
- superuser + busybox
HOW TO:
-Download from google play: vnc wiewer
terminal emulator
-Download this,unzip and put this UBUNTU folder in sdcard or sdcard2(you mast have 4 gb free):
Download link:
https://rapidshare.com/files/3426062139/ubuntu.zip
when you do that go to terminal emulator and tape :
su to become a superuser (root)
cd /sdcard/ubuntu or cd /sdcard2/ubuntu if you unzip on ext sdcard
sh ubuntu.sh
Than go to vnc wiewer and simply add a new VNC server with address localhost, port 5900, and password 'ubuntu' - then hit connect.
What software is pre-installed?
Ubuntu 10.10 (Maverick) Core
LXDE (Lightweight Windows-like GUI) with tightvnc server
Application:
Firefox, Thunderbird, openoffice.org suite, GIMP Image Editor, Emacs Text Editor (geared towards programming), C and C++ build-essential, Java JDK, Python, TeXlive and TeXmaker LaTeX editor, Transmission BitTorrent Client, eVince PDF Viewer, File Manager, Terminal, Image Viewer, Leafpad Text Editor, Synaptic Package Manager and Ubuntu Software Center with all repositories enabled (Ubuntu Software Center is pretty and well organized - but bloated and slow), SSH server, Gnash (GNU flash player/plugin for Firefox - as there is no official generla flash pluging for armel CPUs)..
Obviously, you are free to add and remove apps as you see fit (through Synaptic or Ubuntu Software Center)..
AND IF YOU LOVE MY WORK PRESS THANKS
Thanks
Jagodinac ,svaka ti cast!
Uvek sam ponosan kad vidim da neko od nasih postavlja uputstva na ozbiljnim forumima.
Upravo skidam ubuntu da probam kako radi....
can you put the download file into another place? i can not download it from rapidshare!! please help!
is there anybody who has still the image ?
This device's whole subforum is full of dead links guess I'm not reviving this tablet of mine heh
Hello,
I built node.js for android and it is running great.
Now i need some modules for a new project (serialport,express,socket.io) but I can't use npm on my android device, since i cross compiled node and just put the executable on the device.
Is there a way to use npm on android or what would be the best way to do it?
I also tried building the packages on an arm qemu but the modules weren't working o the android box.
What I am trying to do at the moment is including the modules as core modules when building node, but I am unsure what to include. All modules and all the modules that those modules depend on, etc. etc. This doesn't sound right?
I am following these instructions, that were for a similar problem: github / mapbox / building for android (can't post link sadly)
What would be the best way to achieve it?
Kind regards, egon
I now got it running by installing debian kit on the android box.
Then I just installed node and npm from package manager and did "npm install" in my project folder which worked.
My aims:
- Use Android Studio to develop a basic Android application - should be possible
- Use Android Studio to back up my physical phone (Hisense phone running Nougat 7.0) and create an emulated version of it running on my PC - should be possible, is it?
My PC:
- Windows XP 32-bit
- Pentium Dual Core T2330 processor NOT supporting IntelĀ® Virtualization Technology (VT-x)
- 2 GB RAM
Questions:
- Are the above aims possible to achieve with my PC?
- If yes, what are the recommended Android Studio and Java SE Development Kit versions/settings to use that work for sure?
Story: I have tried to use Android Studio 3.0.1 with various versions of Java SE Development Kit 8 (including 121, 144, and 152) and various settings/hacks constantly running into various bugs/issues, most of which were seemingly resolved by new settings/hacks, yet I ended up with the same error messages after I have tried everything I have found online that nice people suggested on forums.
I am unable to even compile and run a default Android app, I get these error messages:
Gradle build finished with 2 error(s) in 21s 591ms
Error:java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
Error:Execution failed for task ':app:mergeDebugResources'.
> Error: java.util.concurrent.ExecutionException: java.lang.RuntimeException: No server to serve request. Check logs for details.
I am unable to run a default-loaded Android Virtual Device, I get this error message:
Emulator: Process finished with exit code -1073741511 (0xC0000139)
I am clueless how to continue. If my aims are possible to achieve, could someone tell me the Android Studio and JDK versions and settings that work 100% under 32-bit Win XP?
Thanks in advance!
I have a specific client request where there is a custom carried board which is controlled by a iMX8 SOM. On this board there is installed the Android system because there are specific Android applications (Java and Kotlin) which need to be run. I need to create a background service which controls specific IO peripherals (I2C, GPIOs, UART, etc...).
I suppose that in order to make a background (using the board IO peripherals) service which runs at the start of the Android OS system is to develop a C/C++ application (CMake based project) which will be cross compiled using a toolchain for the iMX8 and will be started at system boot through the "init.rc" script, right? Have you any available guide/material for such purpose so that I can begin with the best-practice solution?
I already tried using Android NDK, but I have "permission denied" errors also when installing the app in the "system/priv-app" folder (with the correct permissions).
Which is the correct way to approach this kind of project? Thank you.