Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Thiago Macieira
On terça-feira, 22 de outubro de 2013 06:05:13, Hausmann Simon wrote: > I think the problem is shipping binaries that accommodate the fact that > every distro ships libudev in a different major version. That means you > can't reliably use dynamic linking Right. There are two major versions of lib

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Hausmann Simon
I think the problem is shipping binaries that accommodate the fact that every distro ships libudev in a different major version. That means you can't reliably use dynamic linking :( Simon Fra: Donald Carr Sendt: 07:46 tirsdag 22. oktober 2013 Til: Thiago Macieira Kopi: development@qt-project.o

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Donald Carr
God dag, I still don't follow the need for remove udev support: http://packages.ubuntu.com/lucid/libudev-dev There udev is as far back as Lucid. Where is it not present, exactly? When you remove it from webkit, you remove joypad hotplug detection. When you remove it from Qt, you remove the only

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Thiago Macieira
On segunda-feira, 21 de outubro de 2013 23:07:25, Thiago Macieira wrote: > - libqgtk2: fix, it doesn't need libudev > > The fix for libqgtk2 can probably be: > linux: QMAKE_LFLAGS += -Wl,--as-needed Can anyone check if the other plugins linking to QtPlatformSupport also have the udev dependency

Re: [Development] Puzzled by desktop development priorities, Mac OS specifically [Warning: Rant]

2013-10-21 Thread qtnext
sorry, I have finded the issue .. A previous linked library (Qt4) to the apps that I have copy in /usr/lib ... and forgotten .. I have trash the old lib, and now It links and works correctly ... 2013/10/21 Ziller Eike > > On 20.10.2013, at 21:34, qtnext wrote: > > > I use now Qt5.1.1, try to

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Thiago Macieira
On segunda-feira, 21 de outubro de 2013 21:24:07, Sune Vuorela wrote: > Note that udev in general is built from systemd source tree, even for > distributions that don't default to systemd. > > > LIBUDEV_CURRENT=13 > > LIBUDEV_REVISION=2 > > LIBUDEV_AGE=13 > > > > That's libtool speak for 0.13.2.

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Sune Vuorela
On 2013-10-21, Thiago Macieira wrote: > But what distributions are those that don't have libudev.so.0? Most modern ones I think. > > http://git.kernel.org/cgit/linux/hotplug/udev.git/tree/Makefile.am Note that udev in general is built from systemd source tree, even for distributions that don't

Re: [Development] Codifying the .qml License Header Exemption

2013-10-21 Thread Alan Alpert
On Mon, Oct 21, 2013 at 1:37 AM, Mitch Curtis wrote: > On 09/21/2013 12:15 AM, Alan Alpert wrote: >> >> A while ago it came up that the rules for license headers in QML files >> isn't clearly defined. Here's my suggestion for how to define it, and if >> the project likes the idea we can get a lega

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Thiago Macieira
On segunda-feira, 21 de outubro de 2013 14:29:27, Koehne Kai wrote: > Hi there, > > In the latest Linux binary packages for 5.2 libQt5Webkit depends on > libudev.so.0, which isn't installed (or at least not in this version) on a > lot of distributions: > > https://bugreports.qt-project.org/browse

Re: [Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Denis Shienkov
Hi Kai, I can say only about the QtSerialPort. The QtSerialPort module is used the libudev ((more precisely - the libudev devel is required !!!) as preferred way (for the QSerialPortInfo class) to detect a names and other info about present serial ports. The support of libudev will detected i

Re: [Development] gerrit: relevant reviewers for signals bugfix in QTextCursor

2013-10-21 Thread Graham Coleman
Thanks for the quick feedback, this review is closed. I will test in qt5 and perhaps submit a followup patch. Graham On Mon, Oct 21, 2013 at 3:59 PM, Graham Coleman wrote: > Greetings, > > I'm awaiting reviews for my first submission, a small bugfix I proposed on > JIRA, but do not know if I h

[Development] Removing libudev dependency from binary packages?

2013-10-21 Thread Koehne Kai
Hi there, In the latest Linux binary packages for 5.2 libQt5Webkit depends on libudev.so.0, which isn't installed (or at least not in this version) on a lot of distributions: https://bugreports.qt-project.org/browse/QTBUG-34176 The easiest fix would be to configure Qt with -no-libudev / remov

[Development] gerrit: relevant reviewers for signals bugfix in QTextCursor

2013-10-21 Thread Graham Coleman
Greetings, I'm awaiting reviews for my first submission, a small bugfix I proposed on JIRA, but do not know if I have added appropriate reviewers (I added a few from 'git history' and the Maintainer chart as suggested). The Contribution guidelines document suggests to also ask here. The bug, patc

Re: [Development] Question on Gerrit workflow

2013-10-21 Thread Mandeep Sandhu
Got it. Thanks a lot guys. Regards, -mandeep On Mon, Oct 21, 2013 at 6:45 PM, Oswald Buddenhagen wrote: > On Mon, Oct 21, 2013 at 06:33:14PM +0530, Mandeep Sandhu wrote: >> How do I handle this? >> > git pull --rebase > ___ > Development mailing list

Re: [Development] Question on Gerrit workflow

2013-10-21 Thread Oswald Buddenhagen
On Mon, Oct 21, 2013 at 06:33:14PM +0530, Mandeep Sandhu wrote: > How do I handle this? > git pull --rebase ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

Re: [Development] Question on Gerrit workflow

2013-10-21 Thread Blasche Alexander
Hi, Whether you merge immediately or later all 3 changes at the same time is really up to you. If you do merge individually then you have to rebase your branch once the first change was merged (git pull --rebase origin dev). Once you have rebased git will not attempt to push the already closed

[Development] Question on Gerrit workflow

2013-10-21 Thread Mandeep Sandhu
Hi All, I have a newbie question on our Gerrit workflow. Suppose a change I'm working on is split across 3 commits. Each commit implements a part of the functionality of the change. Once I get approval for a particular changeset, should I merge it to staging immediately or wait for approval for

Re: [Development] object_script files remain after make distclean

2013-10-21 Thread Oswald Buddenhagen
On Sun, Oct 20, 2013 at 03:50:29PM +0800, cat fa wrote: > Hi everyone, > object_script files are generated due to the reason discussed > in http://www.qtcentre.org/archive/index.php/t-6002.html . When > excuting make distclean, all Makefiles are removed except > object_script files. I think

Re: [Development] Recover from a bad rebase (incorrect squash)

2013-10-21 Thread Konstantin Tokarev
21.10.2013, 16:06, "Mandeep Sandhu" : >>>  Hi All, >>> >>>  Is there a safe to recover from a bad rebase ? I've squashed commits >>>  incorrectly. >>  Use 'git reflog' to get the HEAD of the commit before the squash, and use >> git reset to restore it. > > Thanks Kai! That fixed it! Note that i

Re: [Development] Is this QML parser behaviour correct?

2013-10-21 Thread Smith Martin
Thanks, Simon. We copy the QML parser into qtbase/tools/qdoc so that qtbase doesn't depend on qtdeclarative, so I expect we have an old parser. martin From: Hausmann Simon Sent: Monday, October 21, 2013 2:08 PM To: development@qt-project.org Cc: Smith Ma

Re: [Development] Is this QML parser behaviour correct?

2013-10-21 Thread Simon Hausmann
On Monday 21. October 2013 13.33.43 Martin Smith wrote: > The QML parser has callbacks for processing the Import list and for > processing individual imports. In qdoc, I used the one that gets the entire > import list: > > virtual bool visit(UiImportList *) { return true; } > virtual bool visit(

Re: [Development] Recover from a bad rebase (incorrect squash)

2013-10-21 Thread Mandeep Sandhu
>> Hi All, >> >> Is there a safe to recover from a bad rebase ? I've squashed commits >> incorrectly. > > Use 'git reflog' to get the HEAD of the commit before the squash, and use git > reset to restore it. Thanks Kai! That fixed it! -mandeep > > Regards > > Kai

Re: [Development] Recover from a bad rebase (incorrect squash)

2013-10-21 Thread Koehne Kai
> -Original Message- > From: development-bounces+kai.koehne=digia@qt-project.org > [mailto:development-bounces+kai.koehne=digia@qt-project.org] On > Behalf Of Mandeep Sandhu > Sent: Monday, October 21, 2013 1:50 PM > To: development@qt-project.org > Subject: [Development] Recover f

[Development] Recover from a bad rebase (incorrect squash)

2013-10-21 Thread Mandeep Sandhu
Hi All, Is there a safe to recover from a bad rebase ? I've squashed commits incorrectly. Situation before rebase was: (oldest) A -> B -> C -> D (newest) I wanted to squash B & D together so during interactive rebase, I chose 'squash' options for B & D (wrongly assuming that these 2 would get s

[Development] Is this QML parser behaviour correct?

2013-10-21 Thread Martin Smith
The QML parser has callbacks for processing the Import list and for processing individual imports. In qdoc, I used the one that gets the entire import list: virtual bool visit(UiImportList *) { return true; } virtual bool visit(UiImport *) { return true; } I assumed it would bet called once, w

Re: [Development] Codifying the .qml License Header Exemption

2013-10-21 Thread Mitch Curtis
On 09/21/2013 12:15 AM, Alan Alpert wrote: > A while ago it came up that the rules for license headers in QML files > isn't clearly defined. Here's my suggestion for how to define it, and if > the project likes the idea we can get a legal check and then fix up the > infrastructure to follow (sanity

Re: [Development] Puzzled by desktop development priorities, Mac OS specifically [Warning: Rant]

2013-10-21 Thread Ziller Eike
On 20.10.2013, at 21:34, qtnext wrote: > I use now Qt5.1.1, try to erase all Qt4 lib in my mac .. And I have always > the same trouble. When I start macdeploy with verbose=2, I have the following > error : > > ERROR: no file at > "/Library/Frameworks/QtScript.framework/Versions/4/QtScri

Re: [Development] Proposal for UseSheet in QFileDialog option

2013-10-21 Thread Ziller Eike
On 18.10.2013, at 21:56, Yuë Liu wrote: > Hello, > > In QFileDialog documentation it says QFileDialog::DontUseSheet is no > longer supported and user should use QFileDialog::open() if they want > to use sheets, but for many simple application static methods are > enough and simpler, and when po