Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-02 Thread Damian Ivanov
I'm sorry if this may not help but I wanted to share as it's somewhat related. On Windows systems one can from QProccess access any Windows cmd command. The process should be defined as "cmd /c $mycommand" /k maybe also useful. 2014-04-03 2:34 GMT+02:00 Sze Howe Koh : > On 3 April 2014 06:23, Thia

Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-02 Thread Sze Howe Koh
On 3 April 2014 06:23, Thiago Macieira wrote: > Em qua 02 abr 2014, às 12:18:59, Jason Kretzer escreveu: >> powershellHDD.start("PowerShell -Command \"&{(Get-WmiObject >> Win32_LogicalDisk -Filter \\\"DeviceID='C:'\\\").Size}\""); > >> This does not work as I expect it to. The dataHDDsize is

Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-02 Thread Jason Kretzer
Thank you, sir. I never would have found that tidbit... -Original Message- From: interest-bounces+jason=gocodigo@qt-project.org [mailto:interest-bounces+jason=gocodigo@qt-project.org] On Behalf Of Thiago Macieira Sent: Wednesday, April 02, 2014 6:24 PM To: interest@qt-project.org

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Jonas Thiem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 EA's links are sometimes broken yes. (Depends on the browser, don't ask me how they did that) Correct the \ to a / in their links. Regarding the Qt link, my mistake. I meant this one: http://qt-project.org/doc/qt-4.8/licensing.html Do you agree it is

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Jonas Thiem
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ok but what if I want to construct my own about dialog? Would still be neat to have this kind of information on the website/wiki in some easy to obtain form. (not as seen on http://qt-project.org/doc/qt-4.8/licensing.html since it has way too many subp

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
On 4/2/2014 5:14 PM, Jim Prouty wrote: > > On Apr 2, 2014, at 12:30 PM, Till Oliver Knoll > wrote: > >> Am 02.04.2014 um 21:12 schrieb Paul Miller : >> >>> On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: If I remember well under mac/os you have to press the key (whatever appl

Re: [Interest] Executing PowerShell command with quotes using QProcess

2014-04-02 Thread Thiago Macieira
Em qua 02 abr 2014, às 12:18:59, Jason Kretzer escreveu: > powershellHDD.start("PowerShell -Command \"&{(Get-WmiObject > Win32_LogicalDisk -Filter \\\"DeviceID='C:’\\\").Size}\""); > This does not work as I expect it to. The dataHDDsize is an empty string > “”. If I pull the command out and

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Jim Prouty
On Apr 2, 2014, at 12:30 PM, Till Oliver Knoll wrote: > Am 02.04.2014 um 21:12 schrieb Paul Miller : > >> On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: >>> >>> If I remember well under mac/os you have to press the key (whatever >>> apple calls it) together with the hot-key to get it w

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
On 4/2/2014 2:30 PM, Till Oliver Knoll wrote: > Am 02.04.2014 um 21:12 schrieb Paul Miller : > >> On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: >>> >>> If I remember well under mac/os you have to press the key (whatever >>> apple calls it) together with the hot-key to get it works under qt5

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Till Oliver Knoll
Am 02.04.2014 um 21:12 schrieb Paul Miller : > On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: >> >> If I remember well under mac/os you have to press the key (whatever >> apple calls it) together with the hot-key to get it works under qt5.x > > So you're saying keyboard shortcuts in the m

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
On 4/2/2014 1:46 PM, mai...@virtual-winds.org wrote: > > If I remember well under mac/os you have to press the key (whatever > apple calls it) together with the hot-key to get it works under qt5.x So you're saying keyboard shortcuts in the menubar must start with the Cmd key? > Le 02-04-2014 19

Re: [Interest] QtGraphicalEffects usage questioning

2014-04-02 Thread Mark Gaiser
Same here. The current way is vague and requires a lot of trial and error. It works, yes! But a more intuitive way to apply effect would certainly be welcome. On Wed, Apr 2, 2014 at 8:05 PM, Julien Cugnière wrote: > Hi, > > I just wanted to mention that I've had the exact same problems as you whe

Re: [Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread maitai
If I remember well under mac/os you have to press the key (whatever apple calls it) together with the hot-key to get it works under qt5.x Le 02-04-2014 19:50, Paul Miller a écrit : > We've just ported a Qt 4.8 application to 5.2 and everything has gone > fine on Windows. We're using Qt 5.2.1. >

Re: [Interest] QtGraphicalEffects usage questioning

2014-04-02 Thread Julien Cugnière
Hi, I just wanted to mention that I've had the exact same problems as you when trying to use the graphical effects, so you're not alone ! They're powerful, but the documented way to use them is cumbersome, and not quite what you would expect. By the way, thanks for the layer trick, it's definitel

[Interest] Qt 5.2.1 Mac keyboard shortcut problems

2014-04-02 Thread Paul Miller
We've just ported a Qt 4.8 application to 5.2 and everything has gone fine on Windows. We're using Qt 5.2.1. On Mac, however, some of the keyboard shortcuts for menubar items are not triggering. Normal shortcuts like Cmd+S and Cmd+O are working, and even F2, F3, etc, but others like "i" and "o

[Interest] QtGraphicalEffects usage questioning

2014-04-02 Thread Christopher Courtois
I've recently started to use QtGraphicalEffects module and the effect set is really nice! Howerver I think the approach to apply an effect on a qml item is somewhat cumbersome. The docs give an example where we need to create an effect as a neighbour of the original item : Item { width:

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Etienne Sandré-Chardonnal
Hi, Very interesting question indeed, but I do not understand your two links: - The first one is a very simple license with no links and no "branching", I do not see any mess - The second one (EA) has only dead links Cheers, Etienne 2014-04-02 4:46 GMT+02:00 Jonas Thiem : > -BEGIN PGP S

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Scott Aron Bloom
This has been asked for, SINCE they changed to the LGPL license... -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Samuel Stirtzel Sent: Wednesday, April 02, 2014 8:22 AM To

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Samuel Stirtzel
2014-04-02 16:52 GMT+02:00 Alan Ezust : > > > On Tue, Apr 1, 2014 at 7:46 PM, Jonas Thiem > wrote: >> >> >> Why is there no single text file with all required licensing >> information which I can simply slap into my About dialog? Or do I need >> to hire a lawyer first or manually check all license

[Interest] QDataWidgetMapper submits to model before QValidator fixup() is called

2014-04-02 Thread Jason Dolan
Hey, I’m using a QDataWidgetMapper for some input fields (QLineEdit’s). These input fields also have a custom QValidator assigned that will trim excess spaces from the front and back of the input via the QValidator’s fixup() function. The problem I’m having is it appears that the QItemDelegat

Re: [Interest] Qt 4.8 (and Qt 5 too?) really need a digested file of to-be-shown copyright, licensing information

2014-04-02 Thread Alan Ezust
On Tue, Apr 1, 2014 at 7:46 PM, Jonas Thiem wrote: > > Why is there no single text file with all required licensing > information which I can simply slap into my About dialog? Or do I need > to hire a lawyer first or manually check all licenses that may require > me to display them or Copyright or

Re: [Interest] QMessageBox default sizes

2014-04-02 Thread Sensei
On 4/2/14, 12:43pm, Rutledge Shawn wrote: > This is a minimalist dialog which doesn't take up any more space than > necessary, so the default size will depend on what is being > displayed, and is determined by the layout (see e.g. > QMessageBoxPrivate::layoutMinimumWidth()). After you show the dia

Re: [Interest] Licensing Questions

2014-04-02 Thread alexander golks
there were some discussions on this topic several times now, i feel free to just repost some mails on this in Qt-interest Digest, Vol 19, Issue 20. Today's Topics: 2. Re: Licensing (Jan) 3. Re: Licensing (Jeroen De Wachter) 4. Re: Licensing (Kustaa Nyholm) -

Re: [Interest] Licensing Questions

2014-04-02 Thread sarah jones
Thanks everyone > From: sierd...@gmail.com > Date: Wed, 2 Apr 2014 13:08:38 +0200 > Subject: Re: [Interest] Licensing Questions > To: alfarobi0...@yahoo.com > CC: qtsa...@outlook.com; interest@qt-project.org > > On 2 April 2014 12:55, alfa wrote: > > Hi Sarah, > > > > If I understand it correctl

Re: [Interest] Licensing Questions

2014-04-02 Thread Tomasz Siekierda
On 2 April 2014 12:55, alfa wrote: > Hi Sarah, > > If I understand it correctly regarding the licensing issue, you may want to > use LGPL(as opposed to GPL), that does not require you to release the source > code, however, perhaps somebody who are more experienced than me can explain > on this, be

Re: [Interest] Licensing Questions

2014-04-02 Thread alfa
Hi Sarah, If I understand it correctly regarding the licensing issue, you may want to use LGPL(as opposed to GPL), that does not require you to release the source code, however, perhaps somebody who are more experienced than me can explain on this, because I'm also interested in knowing this is

Re: [Interest] QMessageBox default sizes

2014-04-02 Thread Rutledge Shawn
On 2 Apr 2014, at 11:53 AM, Sensei wrote: > Dear all, > > How can I reproduce the aesthetics of a QMessageBox::warning and similar > static functions? > > I am trying to make a platform-specific dialog box that handles > informativeText (yes, just that! at least for now). > > However, I don'

Re: [Interest] qmake PWD variable?

2014-04-02 Thread Joerg Bornemann
On 02-Apr-14 09:55, tangk wrote: > win32:{ > LIBS += $$PWD/living1.lib > system(copy $$PWD/living1.dll $$[QT_INSTALL_BINS]) > } The error is that you pass paths with forward slashes to the copy command. Use the shell_path function to convert the slashes. BR, Joerg __

[Interest] Licensing Questions

2014-04-02 Thread sarah jones
Hi I team and I are planning to release our desktop application that is dynamically linked to the Qt library. As I understand it this means that, if requested by a customer, I must make the source code for Qt available. In addition I must make the object code or source code for the application

[Interest] QMessageBox default sizes

2014-04-02 Thread Sensei
Dear all, How can I reproduce the aesthetics of a QMessageBox::warning and similar static functions? I am trying to make a platform-specific dialog box that handles informativeText (yes, just that! at least for now). However, I don't know how to retrieve the default sizes, and printing them i

Re: [Interest] Changing permissions in a dir

2014-04-02 Thread Sensei
On 3/31/14, 2:28pm, Bob Hood wrote: >> Second: can I change permissions of a directory? > > Well, under UN*X-based systems, the permission changing should work as you > expect with setPermissions() (assuming you have sufficient rights). Under > Windows, though, it probably won't. Windows uses a d

Re: [Interest] Changing permissions in a dir

2014-04-02 Thread Sensei
On 3/31/14, 6:51pm, Thiago Macieira wrote: > Em seg 31 mar 2014, às 13:03:28, Sensei escreveu: >> I am trying to figure out how to change permissions "recursively" of >> every item in a directory. > > Don't use QDir. Use QDirIterator. > > Not only is it more efficient, it also has an option to recu

[Interest] qmake PWD variable?

2014-04-02 Thread tangk
OS:windows 7 64bit, qt version:4.8.4 when I use the command in pro file. It will runs error with : The syntax of the command is incorrect. so I delete the "$$PWD", It runs well. and I test in ubuntu OS, the system command runs well. win32:{

Re: [Interest] [Development] Qt5.2.1+eglfs / WebKit2 running on i.MX6q ?

2014-04-02 Thread BERTIN, NICOLAS (NICOLAS)
Another piece of information: someone posted last week in the Yocto Freescale mailing list a tip to make it works but only with Qt5.1.1 = it consists in adding fbpix=BGR32 to the kernel bootargs. I tested it myself to confirm it ! Unfortunately, it doesn't work with Qt5.2.1 Nicolas > >> On Tu