![]() |
Re: Sailfish SDK Alpha released
As if it was important which package manager is used...
Try zypper, I really like it. zypper ar, zypper ref, zypper up, zypper in :) |
Re: Sailfish SDK Alpha released
Quote:
|
Re: Sailfish SDK Alpha released
Watch the N9, N900, or any of the Nokia Internet Tablets choke when installing packages. Watch poor Ubuntu netbooks choke when installing packages. I'm really glad that Jolla did not continue with Nokia's tradition with the awful deb package management with apt-get.
Zypper is way faster than apt-get and thus more suitable for a mobile device. |
Re: Sailfish SDK Alpha released
Does it still lack autoremove? It's unacceptable to install a package with XXXMb of dependencies, and then to have to reflash to get rid of them, especially on size constrained mobile devices...
|
Re: Sailfish SDK Alpha released
zypper supposedly supports this: http://en.opensuse.org/SDB:Zypper_us...oving_packages
|
Re: Sailfish SDK Alpha released
Quote:
|
Re: Sailfish SDK Alpha released
apt-get is just a higher level framework on top of dpkg (native Debian packaging). aptitude is another one, and can search from the same tool. So this isn't really essential.
|
Re: Sailfish SDK Alpha released
Quote:
Using Kubuntu myself, and it's partially due to my n00bness (running Linux desktop since beginning of this year, didn't had previous experience) and partly due to both Kubuntu and N9 have Debian/Ubuntu roots, so there is some overlap in tech. (apt, upstart) I might switch to SUSE someday, as it has KDE as first class DE and shares more tech with Mer/Sailfish (systemd, rpm/zypper) For the most part I don't really care what's ticking underneath Sailfish. From what I've seen it up-to-date versions of battle-tested technology. (Ok, Wayland is "new", but even that isn't developed overnight). I'm actually glad they've chosen to drop the legacy-stuff. Yeah it might sting a bit now, but remember this platform is new, it should last a decade or so (if Symbian, Android, iOS give a clue) so to start with supporting legacy which will be really obsolete in a year or two would be stupid imo. |
Re: Sailfish SDK Alpha released
Thanks for the explanations regarding the package managers!
I didn't knew that Sailfish goes with Fedora (Mer) vs.Debian (Maemo). Using .rpm instead of .deb is self-explanatory then. |
Re: Sailfish SDK Alpha released
I'd say more OpenSUSE's style, than Fedora's. But it's a minor detail.
|
Re: Sailfish SDK Alpha released
Quote:
Code:
$ sudo zypper in xorg-x11-server-develCode:
$ sudo zypper rm xorg-x11-server-devel |
Re: Sailfish SDK Alpha released
Just checked. By default zypper does not remove dependencies which were pulled with the package, but you can force it to do it. Example (tested that in Mer SDK):
Code:
sudo zypper install rubyCode:
zypper removeAnd manually installed packages aren't removed when you specify -u option. |
Re: Sailfish SDK Alpha released
See also /etc/zypp/zypp.conf
Code:
## |
Re: Sailfish SDK Alpha Qt5 released
Updated the 1st post with new features of Sailfish SDK Alpha Qt5.
|
Re: Sailfish SDK Alpha Qt5 released
it's qt 5.1 now, not 5.0
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
"SDK Alpha Qt5 Known Issues" cites this issue : Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
settings->building->qt versions tells about 5.1
|
Re: Sailfish SDK Alpha Qt5 released
Jolla guys say, it's almost a 5.1, almost all stuff is 5.1 already, they freezed code just before 5.1 was released.
|
Re: Sailfish SDK Alpha Qt5 released
just a notice but it seems like qt5.2 will be releases in november. Since nokia wiped qt it seems like qtdevs has gone nuts with releases :p
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
Sailfish, Android, BB10, Tizen, Ubuntu-Touch, WinRT, iOS,... Not really possible until the conflict of interest caused by Nokia owning Qt & having their own mobile platform/s at the same time. |
Re: Sailfish SDK Alpha Qt5 released
Picking up pace is good. It was really unusual that Nokia let Qt go so easily. Knowing their latest trollish attitude (with attacking VP8 codec with patents for example), they could easily create a lot of problems for Qt.
|
Re: Sailfish SDK Alpha Qt5 released
How can I access all the icons that can be used in Sailfish apps? e.g. icon-cover-pause
================ In my Sailfish app, my main.cpp looks like that Code:
#include <QGuiApplication>Code:
import QtQuick 2.0Code:
file:///opt/sdk/BigText/usr/share/BigText/main.qml:3:1: module "BigText" is not installed What am I doing wrong? thanks |
Re: Sailfish SDK Alpha Qt5 released
marmistrz are you trying to use qmlRegisterType from QtQuick1 vs QtQuick2. Atleast I dont see you including #include <QQmlEngine>
http://qt-project.org/forums/viewthread/28488 And icons you can easily find in filesystem if you login. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
Code:
#include <QGuiApplication>/edit: when going to sb2, it's indeed there. How can I copy it onto local hard disk? |
Re: Sailfish SDK Alpha Qt5 released
If your not able to get qmlRegisterType working, then you can always use setContextProperty().
And ofcourse you have tested to move qmlRegisterType line before creating the view? Since otherwise it tries to import things that dont exist yet? :) |
Re: Sailfish SDK Alpha Qt5 released
Quote:
Code:
Q_DECL_EXPORT int main(int argc, char *argv[]) |
Re: Sailfish SDK Alpha Qt5 released
Quote:
Thanks to anyone who can help. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
Code:
Q_DECL_EXPORT int main(int argc, char *argv[])You can use setContextProperty just fine when properties change on the fly and make UI respond to changes. Nothing prevents that. |
Re: Sailfish SDK Alpha Qt5 released
Well, indeed... create != show ;P Bad habits from Qt 4.7 ;)
Sorry for polling the thread ;P and thanks! Btw. if a textfield is on the bottom, the vkb covers it whole. Will it be fixed in the final release? |
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Please add to the OP:
Where are the emulator filesystem files? (when ssh-ed to the emulator) /srv/mer/targets/<target name> |
Re: Sailfish SDK Alpha Qt5 released
I'm trying to see how the separator works. I included it into the Column, and defined it like that
Code:
Separator { color: "red" } |
Re: Sailfish SDK Alpha Qt5 released
Hi,
I have a problem with exposing a C++ object to QML. It inherits QSettings, Code:
class Settings : public QSettingsI create the object like that: Code:
import QtQuick 2.0 |
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
Quote:
|
Re: Sailfish SDK Alpha Qt5 released
At least your example copypaste was lacking qmlRegisterType and import statements in qml for the Settings type. Or you just didn't copypaste all your code.
And if your settings class is a singleton, like settings usually are, you most likely want to use setContextProperty instead. |
Re: Sailfish SDK Alpha Qt5 released
Quote:
This is a workaround which might work at this case, but what if it wasn't a signleton object? Is there some special magic about non-singleton objects and destructors? /edit: I tried to use the context property approach, but it says that settings is not defined: Code:
Q_DECL_EXPORT int main(int argc, char *argv[]) |
| All times are GMT. The time now is 13:12. |
vBulletin® Version 3.8.8