Re: [Interest] string conversion to longlong error

2014-09-04 Thread Calogero Mauceri
On 9/3/2014 6:11 PM, Rogers Nate wrote: On 09/03/2014 11:53 AM, Calogero Mauceri wrote: Hi all, I'm doing something really simple, but which is driving me crazy. I'm reading a string from a file and converting it to a long long integer, but the conversion fails. The code I'm running is as

[Interest] Building Qt 5.3.1 static on Manjaro/Arch

2014-09-04 Thread Petko Ditchev
Hey guys, for some time now I can't build Qt statically in order to deploy my app. The build process always fails with recipe for target X failed . In this case its .obj/disassembler/UDis86Disassembler.o . My config is : configure -prefix C:\Qt5.3.1-static -release -static -no-compile-examples

[Interest] Gstreamer error while playing audio with Qt5.3

2014-09-04 Thread Ramakanthreddy Kesireddy
Hi, We installed gstreamer packages through apt-get viz. sudo apt-get install libgstreamer0.10-dev sudo apt-get install libgstreamer-plugins-base0.10-dev on Ubuntu 13.10, but it throws below error while playing audio. Warning: No decoder available for type 'audio/mpeg, mpegversion=(int)1,

Re: [Interest] Building Qt 5.3.1 static on Manjaro/Arch

2014-09-04 Thread Petko Ditchev
Here's the end of the output from the second attempt at make (I forgot to copy the first one, but the error should be identical): make[1]: Entering directory '/sync/builds/qt-everywhere-opensource-src-5.3.1/qtwebkit' cd Source/WTF/ ( test -e Makefile.WTF ||

Re: [Interest] Are QSql::Out and QSql::InOut used outside of calling a procedure?

2014-09-04 Thread Helmut Mülner
Hi Bernhard I asked this question in forums before. And I did not get a single response. [...] Now I noticed that bindValue() has an optional paramType parameter that can be set to QSql::Out and QSql::InOut. Is it correct that the QSql::Out and QSql::InOut arguments are useful when

Re: [Interest] Question about using QtDBus

2014-09-04 Thread Rogers Nate
On 09/03/2014 01:34 PM, Thiago Macieira wrote: On Wednesday 03 September 2014 17:16:47 Rogers Nate wrote: annotation name=org.qtproject.QtDBus.QtTypeName.Out0 value=QListServiceErrorLogData/ Not valid XML. The needs to be lt; and the needs to be gt; Ha, that was it, thanks! One last

Re: [Interest] Are QSql::Out and QSql::InOut used outside of calling a procedure?

2014-09-04 Thread Bernhard
Of course I have the sources installed. Alas I couldn't fully understand the library code itself. But on the second sight the test code only uses these values in context of procedure calls which effectively is the answer to my question. Thanks! -- Regards Bernhard Lindner -Ursprüngliche

[Interest] Designer: how to preview QWebView with an example .html content?

2014-09-04 Thread Alan Ezust
First, I am coding in PyQt5, so I am using standalone designer instead of Qt Creator. I was thinking of posting this in PyQt5 but it seems to be more of a Qt/Designer issue rather than a PyQt issue. My problem: I want to create wireframes in designer. Some of them have a QWebView in the middle of

Re: [Interest] Question about using QtDBus

2014-09-04 Thread Thiago Macieira
On Thursday 04 September 2014 12:40:16 Rogers Nate wrote: On 09/03/2014 01:34 PM, Thiago Macieira wrote: On Wednesday 03 September 2014 17:16:47 Rogers Nate wrote: annotation name=org.qtproject.QtDBus.QtTypeName.Out0 value=QListServiceErrorLogData/ Not valid XML. The needs

Re: [Interest] Question about using QtDBus

2014-09-04 Thread Rogers Nate
On 09/04/2014 12:02 PM, Thiago Macieira wrote: It's automatic if you try to access the data. void CanData::generateTestData() { QDBusPendingReplyQListServiceErrorLogData logData = m_ServiceData-serviceErrorLog(); logData.waitForFinished(); if (logData.isError()) {

[Interest] Weird issue: Debugger won't start when qInstallMsgHandler is used

2014-09-04 Thread Mike Nolan
I have a weird issue that I finally tracked down. I am using Qt Creator (2.8.1). When I was in debug mode, and hit the Start Debugging button, the application would never actually load. Finally, I traced it down to qInstallMsgHandler — if I commented out that line then the application would again

[Interest] Qt equivalent for Windows' PathCompactPath function?

2014-09-04 Thread Sascha Offe
Hi, does Qt have something similar to Windows' PathCompactPath function http://msdn.microsoft.com/en-us/library/windows/desktop/bb773575 for shortening a displayed file path? (After my quick search on the web, it seems not...) Example: | The un-truncated path is

Re: [Interest] Weird issue: Debugger won't start when qInstallMsgHandler is used

2014-09-04 Thread Thiago Macieira
On Thursday 04 September 2014 11:57:33 Mike Nolan wrote: I cannot understand why this is, however. Is this a bug in QDeclarativeDebugServer or am I maybe breaking a rule about using qInstallMsgHandler? I have a slightly better workaround (always printing if the QML file hasn’t loaded yet) but