Re: [Interest] Setting the Volume of QMediaPlayer conflict

2014-09-22 Thread Jason Kretzer
Ah, found this. https://codereview.qt-project.org/#/c/79918/ Unfortunately, I am not familiar with what branch is associated to what version for Qt. This says it has been merged into the stable branch. However, I assume that it has not made it into 5.3.1 yet as the problem does persist — unl

[Interest] Setting the Volume of QMediaPlayer conflict

2014-09-22 Thread Jason Kretzer
Hello all, I am using the code below to instantiate two QMediaPlayer instances. I want the first one to play at a lower volume than the second. So, I set each volume accordingly, the first player to 1 and the second player to 95. However, they both end up playing at the same volume (95). If

Re: [Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
On 09/22/2014 11:32 AM, Thiago Macieira wrote: > On Monday 22 September 2014 11:25:11 william.croc...@analog.com wrote: >>> It creates a QApplication, which enables a bunch of backend things, >>> without >>> also connecting to the display server. >> >> When my normally-GUI application is run "off-l

Re: [Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
On 09/22/2014 11:33 AM, Karl Ruetz wrote: > > On Sep 22, 2014, at 10:25 AM, william.croc...@analog.com wrote: > >> On 09/22/2014 11:10 AM, Thiago Macieira wrote: >>> On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: Gang: While we are talking about the need for a

Re: [Interest] What is the difference.

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 10:33:07 Karl Ruetz wrote: > I have a similar problem with a “console” program that creates PDF reports > that include graphics. I have to use the QApplication, with connections to > the Display and all that implies when all I really want to do is use > QPainter and QPdf

Re: [Interest] What is the difference.

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 11:25:11 william.croc...@analog.com wrote: > > It creates a QApplication, which enables a bunch of backend things, > > without > > also connecting to the display server. > > When my normally-GUI application is run "off-line" > (to create plot images in files as opposed

Re: [Interest] What is the difference.

2014-09-22 Thread Karl Ruetz
On Sep 22, 2014, at 10:25 AM, william.croc...@analog.com wrote: > On 09/22/2014 11:10 AM, Thiago Macieira wrote: >> On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: >>> Gang: >>> >>> While we are talking about the need for a Q[Core]Application... >>> >>> What is the differ

Re: [Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
On 09/22/2014 11:10 AM, Thiago Macieira wrote: > On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: >> Gang: >> >> While we are talking about the need for a Q[Core]Application... >> >> What is the difference between; >> >> QCoreApplication(argv,argc); >> >> and >> >>

Re: [Interest] What is the difference.

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 11:01:23 william.croc...@analog.com wrote: > Gang: > > While we are talking about the need for a Q[Core]Application... > > What is the difference between; > > QCoreApplication(argv,argc); > > and > > QApplication(argc,argc,false); // Note GUIEnabled=false

Re: [Interest] What is the difference.

2014-09-22 Thread Sze Howe Koh
Hi, On 22 September 2014 23:01, william.croc...@analog.com wrote: > Gang: > > While we are talking about the need for a Q[Core]Application... > > What is the difference between; > > QCoreApplication(argv,argc); > > and > > QApplication(argc,argc,false); // Note GUIEnabled=false QCoreA

[Interest] What is the difference.

2014-09-22 Thread william.croc...@analog.com
Gang: While we are talking about the need for a Q[Core]Application... What is the difference between; QCoreApplication(argv,argc); and QApplication(argc,argc,false); // Note GUIEnabled=false Thanks. Bill ___ Interest mailing list Interes

Re: [Interest] Event handling for QObjects created before QApplication

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 10:11:01 Till Oliver Knoll wrote: > So in theory it could mean that (only) events sent by > QCoreApplication::sendEvent are getting through to your QObject, even > without a QCoreApplication instance being around. Not even sendEvent: inline bool QCoreApplication::sendE

Re: [Interest] Bluetooth example (btchat) not working on linux

2014-09-22 Thread Thiago Macieira
On Monday 22 September 2014 07:50:10 Blasche Alexander wrote: > Based on your description the following call fails: > > QBluetoothLocalDevice device(QBluetoothAddress()); > > It is supposed to find the local default adapter but it fails. I have a > couple of questions: > > What Bluez version do

Re: [Interest] Do not generate files if exists or doesn't modified...

2014-09-22 Thread Till Oliver Knoll
Am 22.09.2014 um 10:37 schrieb "Igor Mironchik" : > Hi. > > ... > > How can I do that this files will generates only if they are not exists or if > .proto file was modified? For the first part of your question refer to qmake's internal functions, specifically "exists(filename)". For the la

Re: [Interest] Bluetooth example (btchat) not working on linux

2014-09-22 Thread Andreas Ortmann
Okay, thank you for the help. I'll try to use 5.4 and see whether it works. On 09/22/14 11:13, Blasche Alexander wrote: > Thank you for the data. The issue is that Qt 5.3.x does not support Bluez 5 > yet. You have to use Qt 5.4 which added Bluez5 support. > > Your Bluez output looks as expected

Re: [Interest] Bluetooth example (btchat) not working on linux

2014-09-22 Thread Blasche Alexander
Thank you for the data. The issue is that Qt 5.3.x does not support Bluez 5 yet. You have to use Qt 5.4 which added Bluez5 support. Your Bluez output looks as expected and at least the current issue should not be one in 5.4. -- Alex From: interest-boun

Re: [Interest] Event handling for QObjects created before QApplication

2014-09-22 Thread Dmitrii Volosnykh
Thank you for your answers and recommendations. I never create QObjects before QCoreApplication, so don't worry. Just was re-reading docs and was confused by that part, especially be the word "posted" since QCoreApplication::postEvent() supposed to put event in the queue which is not handled. 2014

Re: [Interest] Bluetooth example (btchat) not working on linux

2014-09-22 Thread Andreas Ortmann
I'm using Qt5.3 on 64 bit linux installed with the online installer package qt-opensource-linux-x64-1.6.0-4-online.run. The output of querying for Bluez5 is attached. Greetings, Andreas On 09/22/14 09:50, Blasche Alexander wrote: Based on your description the following call fails: QBluetooth

[Interest] Do not generate files if exists or doesn't modified...

2014-09-22 Thread Igor Mironchik
Hi. In one project I use Google’s ProtoBuf for network messages. And in .pro file I have the next lines: PRE_TARGETDEPS += $$PWD/messages.pb.cc $$PWD/messages.pb.h QMAKE_EXTRA_TARGETS += protobufc protobufhprotobufc.target = $$PWD/messages.pb.ccprotobufc.depends = FORCEprotobufc.commands = prot

Re: [Interest] Event handling for QObjects created before QApplication

2014-09-22 Thread Till Oliver Knoll
Am 22.09.2014 um 02:46 schrieb Thiago Macieira : > On Monday 22 September 2014 04:24:21 Dmitrii Volosnykh wrote: >> Threads and QObjects >> tutorial >> >> says: >>> Note that for QObjects that are created before QApplication, >>> QObject::thre

Re: [Interest] Bluetooth example (btchat) not working on linux

2014-09-22 Thread Blasche Alexander
Based on your description the following call fails: QBluetoothLocalDevice device(QBluetoothAddress()); It is supposed to find the local default adapter but it fails. I have a couple of questions: What Bluez version do you use? What version of Qt are you using? If you use Bluez 4 please send me