![]() |
2014-02-11
, 19:24
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#252
|
-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
...
![]() |
2014-02-11
, 19:29
|
Posts: 951 |
Thanked: 2,344 times |
Joined on Jan 2012
@ UK
|
#253
|
wait a sec. i don't see Mer ARM Device in the list. I only see Generic Linux Device and Mer Emulator Device.
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.
??
The Following User Says Thank You to mariusmssj For This Useful Post: | ||
![]() |
2014-02-11
, 19:48
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#254
|
![]() |
2014-02-11
, 19:58
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#255
|
![]() |
2014-02-11
, 20:28
|
Posts: 84 |
Thanked: 79 times |
Joined on Dec 2013
|
#256
|
![]() |
2014-02-11
, 23:37
|
Posts: 958 |
Thanked: 483 times |
Joined on May 2010
|
#257
|
\home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:17: error: undefined reference to `QFeedbackActuator::actuators()' C:\Users\xxx\Documents\Jolla\TestVibraUI\main.cpp:24: error: undefined reference to `QFeedbackActuator::name() const' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:40: error: undefined reference to `QFeedbackHapticsEffect::QFeedbackHapticsEffect(QObject*)' C:\Users\xxx\Documents\Jolla\TestVibraUI\main.cpp:42: error: undefined reference to `QFeedbackHapticsEffect::setIntensity(double)' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:43: error: undefined reference to `QFeedbackHapticsEffect::setDuration(int)' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:44: error: undefined reference to `QFeedbackHapticsEffect::setActuator(QFeedbackActuator*)' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:45: error: undefined reference to `QFeedbackEffect::start()' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:46: error: undefined reference to `QFeedbackEffect::stop()' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:46: error: undefined reference to `QFeedbackHapticsEffect::~QFeedbackHapticsEffect()' \home\mersdk\Documents\Jolla\TestVibraUI\main.cpp:46: error: undefined reference to `QFeedbackHapticsEffect::~QFeedbackHapticsEffect()'
![]() |
2014-03-21
, 14:52
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#258
|
Fatal error: qt5-qtgui-devel-5.1.0+git31-1.12.8.armv7hl requires qt5-qtopengl-devel, but this requirement cannot be provided qt5-qtwidgets-devel-5.1.0+git31-1.12.8.armv7hl requires pkgconfig(Qt5Gui), but this requirement cannot be provided
![]() |
2014-03-21
, 18:59
|
|
Posts: 1,055 |
Thanked: 4,107 times |
Joined on Oct 2009
@ Norway
|
#259
|
qtgui needs qtopengl that needs libEGL, the only similar pckg is mesa-llvmpipe-libEGL, but that conflicts with libhybris. Anyone has an idea how to get it to compile/working?
The Following 2 Users Say Thank You to w00t For This Useful Post: | ||
![]() |
2014-03-21
, 19:50
|
Posts: 2,076 |
Thanked: 3,268 times |
Joined on Feb 2011
|
#260
|
Here be dragons.
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?
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
#include <QtFeedback/QFeedbackActuator>
#include <QtFeedback/QFeedbackHapticsEffect>
#include <QGuiApplication>
#include <QQuickView>