![]() |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
This Sailfish SDK update doesn't have a new download, it installs inside the SDK.
[SailfishDevel] SailfishOS SDK January update available today. Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
Another Sailfish SDK update in January, which is installed inside the SDK :
[SailfishDevel] SailfishOS SDK January update 2 available today Quote:
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
folks - how do i Qt Creator to deploy to the actual Jolla device? I have already configured Tools->Options->Devices. i selected
1. Add 2. Select "Generic Linux Device" (I only see option for this and "Mer Emulator Device") 3. Configured the options for IP address, user name, etc. Then I tested the configuration by clicking on "Test" button on the right. Test works / passes successfully. Now how do I deploy my sample project to the phone? each time i try to deploy it says "Could not connect to SailfishOS Emulator Virtual Machine". help? |
Re: Sailfish SDK Alpha 1312 Qt5 released
I don't remember the specifics, but you have to add your device under tools->options->devices.
|
Re: Sailfish SDK Alpha 1312 Qt5 released
tried that. i have it added already but everytime i compile and deploy, it always targets the emulator. how do i change that?
|
Re: Sailfish SDK Alpha 1312 Qt5 released
As I have understood it will always require working emulator to compile and build packages / binaries. After that you can make it automatically deploy rpm or binaries to actual device.
To enable possibility to deploy to device you need to have kit defined under projects where actual device is defined as Device. More professionals can correct in case I'm talking ********. But this is how I use it :) |
Re: Sailfish SDK Alpha 1312 Qt5 released
Under the projects tab, you choose your build and run target.
There's two "emulators" or virtual machines. One build engine that's running mer; that one is required. And one sailfish emulator, that's not necessary. |
Re: Sailfish SDK Alpha 1312 Qt5 released
-First of all you don't add Generic Linux Device but add Mer ARM Device Tools->Options->Devices->Add
-Your PC needs to be on 192.168.2.X sub domain, thus your local IP need to begin with 192.168.2. - In project tabs you will need to add a MerSDK_SailfishOS_armv7hl kit if not already there - And then pick deployment target like on the image below http://i.imgur.com/fsCwu6n.png If I get some time I will make a full guide |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
@mariusmssj
thank you for the screenshots. i will try that in a while. in the meantime, does anyone know how i can build a console application for Sailfish that uses Qt? i only want to use certain Qt classes with no UI. i must be missing something in my .pro file as the compiler is complaining about unresolved symbols? i created a new project under Qt Creator as C++ application. i also tried creating a SailfishOS project and in main.cpp I have my code added in. I commented out Quote:
#include <QtFeedback/QFeedbackActuator> #include <QtFeedback/QFeedbackHapticsEffect> #include <QGuiApplication> #include <QQuickView> |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
tried updating the SDK via control panel (yes, i develop on Windows) and it only found an updated maintenance tool. edit: i think i'll uninstall the SDK and download a copy. i had mine installed before Mer ARM Device support was added sometime around mid Dec last year. ?? |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
http://i.imgur.com/Y5lvivN.png |
Re: Sailfish SDK Alpha 1312 Qt5 released
nope, don't see it.
i just uninstalled, downloaded a new copy , and installed the new copy. i see it now. :) thanks! |
Re: Sailfish SDK Alpha 1312 Qt5 released
so does anyone know why i'm getting all these unresolved symbols.... :(
|
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
Code:
\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:17: error: undefined reference to `QFeedbackActuator::actuators()' |
Re: Sailfish SDK Alpha 1312 Qt5 released
from twitter:
@locusf: Sailfish SDK Qt Creator sources are now online in: https://t.co/H0bqRKHQpD Might reveal a lot of interesting stuff. Trying to build on device, qt5-qmake, qt5-qtconcurrent-devel and qt5-qtcore-devel all install fine. Qtgui and widgets sadly don't: Code:
Fatal error: qt5-qtgui-devel-5.1.0+git31-1.12.8.armv7hl requires qt5-qtopengl-devel, but this requirement cannot be provided |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
As a whole stack, we build against Mesa's libEGL, but at runtime, we then pick a different - hardware-dependent libEGL implementation (which exactly depends on what hardware we're running on: on the Jolla, it's libhybris', on the N9 there's ti-omap3-sgx-wayland-wsegl's wrapper around the SGX drivers, etc). They're all - obviously - ABI/API compatible. On the whole, I'd just recommend not building on device, because there is a way-too-easy chance you can wipe out your EGL libraries if you accidentally answer "yes" at the wrong prompt. Why not use the SDK, out of interest? |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
edit: good news, at least tohkbd can be tweaked/tinkered with on the go, qmake generates Makefile correctly, make succeeds, no need for qtcreator |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
Oh great, that is something that is a problem for me, too, may I jump in? I wanted to use a QT-Plugin on the phone but have a similar problem, that qt-libs conflict with libhybris, don't know why it has to be conflicting at all? w00t: "i'm a Qt expert and happy Jolla sailor." <-- perfect combination for my problem, too ? :) Could you have a short view on this, if you see any posibillity to get it running? Code:
qt5-qtplatformsupport-devel-5.1.0+git28-1.10.2.armv7hl requires pkgconfig(Qt5Gui), but this requirement cannot be providedTMO t=92352&p=1406152 |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
What's the difference between launching an app on the device from the SDK and launching it from the desktop file on the device?
I'm working on an app that gets output from at text file and edits it through Python (PyOtherSide) and when launched from the SDK (by copying binaries or deploying as RPM) it works as expected without any errors, but when I try to run it from the created desktop file nothing happens. Edit: Never mind, a reboot solved it. I thought reboots only updated the launcher icon displayed, but I guess it affects some other things too... :D |
Re: Sailfish SDK Alpha 1312 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1312 Qt5 released
It works!
http://i.imgur.com/Heobtmw.jpg In case someone also wants to run Sailfish QtCreator on Jolla: start with setting up chroot - https://together.jolla.com/question/...building-apps/ once it is setup install any libhybris breaking package into it (be sure to install it into the chroot!!! 'zypper --root /chroot/base install qt5-qtgui-devel' should do the trick), that will substitute hybris stuff with the llvmpipe libs in chroot: install all needed qt(-devel) libs (I did zypper install qt*-devel and it still missed some of the non-devel, thought they are dependent, apparently not, lrelease is in qt5-qttools-linguist) git clone https://github.com/sailfish-sdk/sailfish-qtcreator inside it 'qmake -r' apply patch from here to botan.cpp/.h: https://bugreports.qt-project.org/br...REATORBUG-8107 go to src/plugins/imageviewer and modify Makefile adding -DQT_NO_SVG to defines make (few first runnings it was going going into 'not responding', with qthelp/qt5-qttools-qtdesigner qtpackages it finally loaded fine... well, like any pure qt app on Jolla fine is far from perfect, File/Edit etc dialogs pop up a new window that doesn't close gracefully, entry in text fields works after 2nd or third click and the SWKB is super-light/high-gamma... not sure how to describe, still, should be functional once it is setup to use libs from chroot for compiling (or maybe run from chroot? hmm... probably not as chroot has no libhybris, will need some tweaking)) Have fun! |
Re: Sailfish SDK Alpha 1312 Qt5 released
Updated 1st post with Sailfish SDK release Alpha 1404, released in April 16th 2014.
|
Re: Sailfish SDK Alpha 1404 Qt5 released
I've received email on SailfishDevel mailing list announcing Sailfish SDK Alpha 1406, to be released today (June 12th 2014), 13:00 UTC in Sailfish.org site :
Quote:
|
Re: Sailfish SDK Alpha 1406 Qt5 released
Sailfish SDK Alpha-1407-Qt5 announced on SailfishDevel mailing list, to be released tomorrow (July 15th) at 12:00 UTC in Sailfish.org site :
Quote:
|
Re: Sailfish SDK Beta 1410 Qt5 released
Sailfish SDK Beta-1410-Qt5 (U9-Opt-in) announced on SailfishDevel mailing list :
Quote:
|
Re: Sailfish SDK Alpha 1407 Qt5 released
Quote:
|
Re: Sailfish SDK Alpha 1407 Qt5 released
The new Sailfish SDK will be released in January 5th 2015 :
[Release notes] Software version 1.1.1.27, Vaarainjärvi. Quote:
Quote:
|
Re: Sailfish SDK Beta 1410 Qt5 released
Hi. I have got a question. I am trying to write app that uses poppler lib to render pdf documents. If I understand correctly, first I must install poppler at sailfish build engine to be able to compile my apps with poppler at arm platform. I opened SailfishOS->Targets->Sailfish-i486 and installed poppler, poppler-glib, poppler-qt5 and poppler-utils packets. However I don't understand where I can find those packets? I searched in /usr directory at build engine ("find /usr -name "*poppler*"") with no success. So where is those installed packets?
P.S. I am new at packet system and unix platform, so I am sorry for that may be silly question |
Re: Sailfish SDK Beta 1410 Qt5 released
Sailfish SDK Beta "1412" announced today on SailfishDevel mailing list, it is already available in Sailfish.org site :
Quote:
|
Re: Sailfish SDK Beta 1410 Qt5 released
So developers will have Sailfish OS updates before mainstream :
Quote:
|
Re: SDK Beta 1412 Qt5 released
I have a very newbie question about using merSDK.
I want to compile a compiler (ocalm) or something needed to compile another package. I did in the "traditional" way (make -> make install -> make clean). But then I realised that what I need is such compiler for the two different targets, so I should do it with mb2. I have never used mb2... what should i do? something like (for instance for the pc emulator i486): mb2 -t SailfishOS-i486 build (or mb2 -t SailfishOS-i486 make?) and then mb2 -t SailfishOS-i486 install (or make install) ? Is there any wiki or documentation that I can read about? |
Re: SDK Beta 1412 Qt5 released
sb2 to your different targets and make && make install here.
|
Re: SDK Beta 1412 Qt5 released
Quote:
You mean something like: mb2 -t SailfishOS-i486 make [everything was fine and then] mb2 -t SailfishOS-i486 make install Dont you? Ive never used mb2 (and it has no man page at least in sdk) |
Re: SDK Beta 1412 Qt5 released
sb2 -t SailfishOS-i486
ah,, and then make make install thanks for your response, before I read it too fast, and i didnt realized you meant sb2 and not mb2 |
Re: SDK Beta 1412 Qt5 released
sb2 -t SailfishOS-armv7hl -m sdk-install -R
sb2 -t SailfishOS-i486 -m sdk-install -R and seems you need to read this one: https://sailfishos.org/develop/tutor...ages-manually/ |
| All times are GMT. The time now is 13:12. |
vBulletin® Version 3.8.8