> Hello,
>
> https://lists.sailfishos.org/pipermail/devel/2013-December/001717.html
Works like a charm, THANK YOU!!
___
SailfishOS.org Devel mailing list
To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
> > >add sailfishapp also to the PKGCONFIG
Before you answered, I tried removing CONFIG += link_pkgconfig and only kept
PKGCONFIG += Qt5SystemInfo and it builds and works just fine!
Thank you guys!
___
SailfishOS.org Devel mailing list
To unsubscri
Please excuse me guys for being such a newbie. Coming from BB10 where many
details are different, I have a lot of problems with even the most basic stuff
on Sailfish :(
I have a Q_INVOKABLE - let's say something like:
QInt DoSomeMath() {
// does some calulation
return result;
}
and I need t
> do you have such in your .pro
> CONFIG += link_pkgconfig
> PKGCONFIG += Qt5SystemInfo
Just added:
CONFIG += sailfishapp \
link_pkgconfig
PKGCONFIG += Qt5SystemInfo
Now I get:
undefined reference to `SailfishApp::main(int&, char**)'
___
Sailf
Guys, PLEASE, help me, or soon I'll go nuts.
For days I've been struggling to use QtSystemInfo/QDeviceInfo to get IMEI. I
need to do it in C++, not in QML.
It is properly imported (e.g. #include ), QtCreator
recognizes it, but every time I try to build the project I end up with
"undefined refe
Thomas Perl wrote:
> Why do you want to use Qt Resources instead of deploying the files to
> the filesystem?
To hide SOME code from those who like to just copy&paste rather than ask for
permission or credit the source. Not from everyone, just from those
"copy&pasters". Some time ago I had m
Thomas Perl wrote:
> Why do you want to use Qt Resources instead of deploying the files to
> the filesystem?
To "hide" some of QML code away from prying eyes. Of course, I know that it's
a very poor protection as it is just compression so everything can be easily
extracted, but that's actua
> I believe the problem may be that the Makefile is recreated every time
> you press build because of limitations in the qt creator / virtual
> machine integration. You could try adding QMAKE_RESOURCE_FLAGS to your
> "spec" file in a suitable place.
>
> QMAKE_RESOURCE_FLAGS += -threshold 0 -com
On April 4 Duncan Waugh wrote:
" [...] support commercial applications. Is there any news on when this is
planned for integration?"
No answer.
On April 17 Marcin M. wrote:
"Is there any estimated time when paid apps will be allowed to Harbour?"
No answer.
There are also a number of such topi
Hello guys,
Has anyone managed to get the -threshold option of rcc (resource compiler) to
work? By default the threshold is quite high and leaves many files
uncompressed in the resource, so I usually change it to much lower threshold.
It used to work fine on Symbian and Harmattan, it does wo
> I usually do this by renaming the qml folder, create a new qml folder,
> and create en empty qml file in the folder (otherwise the deploy fails).
>
> This changes the path to files included in the resource, so they have to
> be added again.
Good idea...
Anyway, let's hope that this gets corre
tor.xml.
Bolek
W dniu 2014-04-23 21:18:04 użytkownik Andrey Kozhevnikov
napisał:
> did you made "clean" and removed build folder content?
>
> 24.04.2014 01:16, tw_bolek пишет:
> >
> > Doesn't work, either :(( The qml folder is still added to rpm.
&
Yes, I did "clean", deleted the whole build folder, then did "clean" again.
That FREAKING folder still gets added
> did you made "clean" and removed build folder content?
>
> 24.04.2014 01:16, tw_bolek пишет:
> >
> > Doesn't work, e
try this:
> desktop.files = $${TARGET}.desktop
> desktop.path = /usr/share/applications
> icon.files = $${TARGET}.png
> icon.path = /usr/share/icons/hicolor/86x86/apps
> INSTALLS = desktop icon
W dniu 2014-04-23 20:39:30 użytkownik tw_bolek napisał:
> Doesn't work :(
> show your full pro file
Hey Andrey, here you are. Nothing special in there.
# The name of your app.
# NOTICE: name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, following needs to be
# done to match new name:
# - corre
Doesn't work :(
INSTALLS -= qml doesn't seem to do anything, and renaming the qml folder
results in an RPM build error - files not found
Anything else, please?
Gosh, it was so easy and obvious in Qt4.8
Thank you,
Bolek
> you can try to add INSTALLS -= qml somewhere after
> sailfishapp
>to a file in data directory (see sailfishapp.h for some documentation).
>Can you get on with using QUrl("qrc:/main.qml") ?
> On Wednesday 23 of April 2014 09:23:29 tw_bolek wrote:
> > Hi guys,
> >
> > I've put all my qml files into a resour
Hi guys,
I've put all my qml files into a resource file and I did NOT include the qml
folder in the rpm.
PROBLEM: what path should I use in the main.cpp file to point to the main qml
file in the resource?
SailfishApp::pathTo("qml/main.qml") returns /usr/share/myapp/qml/main.qml -
not found
Hi Aaron,
> You are not doing anything wrong. As you discovered items are only visible
> when the map zoom level is greater than 3. Between zoom levels 2 and 3 the
> opacity is ramped down linearly and is 0 below a zoom level of 2. See
> https://bugreports.qt-project.org/browse/QTBUG-25393 for
Hi guys,
In my application I use a map (QtLocation 5.0, Map, OSM or Nokia plugin) and I
need to show certain overlay objects on it. The map itself works fine (both
with OSM and Nokia plugin), the problem is that objects over it are shown only
if zoomLevel is 3 or more. No matter if I use an I
> @Bolek, have you got it working?
Yes, it does work this way. Thank you *VERY MUCH* Chris for your help! For my
needs now it's even better than previously as on Harmattan I then had to use
Qt.createQmlObject for what I needed to get.
Thanks a lot!
BTW. Do you perhaps now the URL of the site
Hi Aaron,
> The Qt Location and Qt Positioning packages are reported
> as version 5.1.0 but they include something very close
> to what will be in 5.2 upstream. There was no Qt Positioning
> library prior to Qt 5.2.
I have all the packages you listed installed (5.1.0 versions). I can
successful
P.S. I've just tried to update with zypper, but it shows that QtPositioning
5.1.0 is installed and it is the highest available version, no update is
available
Does it mean that I cannot use the Coordinate element in a Sailfish OS
application for now?
Thanks,
Bolek
Chris,
Thank you!
What a mess... It looks that it must have been moved from QtLocation to
QtPositioning only recently. It seems to be only in QtPositioning 5.2.
That's why it wasn't recognized despite importing both QtLocation 5.0 and
QtPositioning 5.0
Where and how can I install QtP
Dear all,
Before I spend another couple of days on trying to solve this, maybe you can
help
I'm working on a mappining application. I imported QtLocation 5.0 (had to also
install the missing module - installed qt5-qtlocation and
qt5-qtdeclarative-import-location) and everything works fine
Hello guys,
While porting my applications to Sailfish OS, I encountered the following
problems with the Emulator. I tried it numerous times and I always end up with
the same result:
1) I cannot make onDoubleClick signal work. I have a Rectangle with a
MouseArea filling it, and it has an onDou
Success, at last. Installing qtpositioning packages to both targets (using
SDK Control Center), to the SDK (using zypper) and to the emulator (using
zypper) finally did the job. It finally works and application can be deployed
to the emulator "by copying binaries" and without any modifications
OK, so I did the following:
- Using SDK Control Center I installed to both targets: qt5-qtpositioning,
qt5-qtpositioning-devel, qt5-qtdeclarative-import-positioning
- using zypper I installed to the Emulator the following: qt5-qtpositioning,
qt5-qtdeclarative-import-positioning
Did the sync, r
Chris,
First of all, thank you very much for your help.
However is there any valid reason why it is so complicated? Positioning is
probably one of the most frequently used functions in smartphone applications.
I'd understand that some 3rd party or less important modules are not included
by
Hi Chris,
>> So the import we need is Import QtPositioning 5.0
Unfortunately, "QtPositioning 5.0" gives "QML module not found" and it is
underlined in red in QtCreator... Adding QT += positioning to the .pro file
does not change anything.There is no trace of "QtPositioning" in
sailfishos
Hello list,
I am porting my Harmattan QML applications to Sailfish OS. I simply need to
get GPS Location. In Qt4.8 / QtQuick1.1 it only took importing
QtMobility.location and then using PositionSource.
In the latest SailfishOS SDK I tried importing QtLocation 5.0 but it is not
found. Pos
31 matches
Mail list logo