Re: [Interest] Qt Macros for desktop and embedded Linux

2013-03-20 Thread Thiago Macieira
On quinta-feira, 21 de março de 2013 03.06.54, Ramakanthreddy_Kesireddy wrote: > Ok Thanks for the information. > I thought if I could make differentiation using macros on Desktop Linux and > embedded tegra3 board. > > Could you please let me know the header file that I need to include in Qt5.0 > t

Re: [Interest] Qt Macros for desktop and embedded Linux

2013-03-20 Thread Ramakanthreddy_Kesireddy
Ok Thanks for the information. I thought if I could make differentiation using macros on Desktop Linux and embedded tegra3 board. Could you please let me know the header file that I need to include in Qt5.0 to use Q_OS_Linux? Best Regards, Ramakanth Fro

Re: [Interest] QMainWindow::restoreState : where to call it?

2013-03-20 Thread Alex Malyushytskyy
It is supposed to be no difference when restore state as soon as all children (toolbars, etc) are created already. Also if you are using QSettings to save/load state make sure you already set atributes to QSettings so it is written/read from the same location. Regards, Alex On Wed, Mar 20, 2

Re: [Interest] Program runs only on four core processors....

2013-03-20 Thread Etienne Sandré-Chardonnal
>> Hi Guido >> >> It's very hard to make a guess with so little information. > > I know. But currently I don't have more and since there are quite a few > experienced programmers here, I hoped someone would have experienced > something similar. :-) > >> If the number of cores appears to affect th

Re: [Interest] Thread stopped, signal ignored

2013-03-20 Thread Etienne Sandré-Chardonnal
> First of all, you do not need threads for that. QTcpServer and QTcpSocket work > just fine in non-blocking mode, their default mode of operation. I simplified, but the server worker object is also doing some intensive work (actually this is cloud computing). > Second, make sure that your QTcpSe

Re: [Interest] Program runs only on four core processors.... sometimes.

2013-03-20 Thread Thiago Macieira
On quarta-feira, 20 de março de 2013 23.38.56, Guido Seifert wrote: > > Since decreasing the number of cores makes it work, > > Nope, increasing makes it work. But apparently not always. Or not for all > machines. Not sure, which of the two scenarios you described I should > prefer now. Even if I h

Re: [Interest] Program runs only on four core processors.... sometimes.

2013-03-20 Thread Guido Seifert
> Hi Guido > > It's very hard to make a guess with so little information. I know. But currently I don't have more and since there are quite a few experienced programmers here, I hoped someone would have experienced something similar. :-) > If the number of cores appears to affect the outcome

Re: [Interest] Qt builds

2013-03-20 Thread Petric Frank
Hello, answering my own question ... Am Mittwoch, 20. März 2013, 23:22:09 schrieb Petric Frank: > Hello, > > Am Mittwoch, 20. März 2013, 09:54:35 schrieb Алексей Павлов: > > Hi! > > I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded > > with MinGW-w64 toolchains. > > Links: >

Re: [Interest] Qt builds

2013-03-20 Thread Petric Frank
Hello, Am Mittwoch, 20. März 2013, 09:54:35 schrieb Алексей Павлов: > Hi! > I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded with > MinGW-w64 toolchains. > Links: > Qt-5.0.2-preview-x32.7z xternal-binary-packages/Qt-Builds

Re: [Interest] Program runs only on four core processors.... sometimes.

2013-03-20 Thread Thiago Macieira
On quarta-feira, 20 de março de 2013 23.00.19, Guido Seifert wrote: > Hi, > I have here a strange problem. Probably not 100% ontopic for this list. But > it is a Qt program. :-) > > My problem: I have three programs, which exchange data with a fourth program > via tcp and udp. On my i7 and i5 with

[Interest] Program runs only on four core processors.... sometimes.

2013-03-20 Thread Guido Seifert
Hi, I have here a strange problem. Probably not 100% ontopic for this list. But it is a Qt program. :-) My problem: I have three programs, which exchange data with a fourth program via tcp and udp. On my i7 and i5 with four cores it runs perfectly. It also runs perfectly on my partner's machin

Re: [Interest] Thread stopped, signal ignored

2013-03-20 Thread Thiago Macieira
On quarta-feira, 20 de março de 2013 17.53.14, Etienne Sandré-Chardonnal wrote: > Dear all, > > I'm currently using a QThread with a QObject pushed in it using > moveToThread. The QObject is basically a network server of class > NetworkServer, it has a close() slot that closes the QTcpServer and >

[Interest] Thread stopped, signal ignored

2013-03-20 Thread Etienne Sandré-Chardonnal
Dear all, I'm currently using a QThread with a QObject pushed in it using moveToThread. The QObject is basically a network server of class NetworkServer, it has a close() slot that closes the QTcpServer and outputs a "Port closed" message to the console. In my main thread, I have a signal "closeSe

Re: [Interest] Interest Digest, Vol 18, Issue 51

2013-03-20 Thread Etienne Sandré-Chardonnal
> Use a boolean to only restore on the first call to showEvent ? I will do this... I just wanted to avoid adding much of these variables, as the class is becoming larger and larger... > > Post some code showing where you are using it in the constructor? > > I use it in mine and it works fine. Th

Re: [Interest] QMainWindow::restoreState : where to call it?

2013-03-20 Thread Scott Aron Bloom
Post some code showing where you are using it in the constructor… I use it in mine and it works fine. From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Etienne Sandré-Chardonnal Sent: Wednesday, March

Re: [Interest] Qt Macros for desktop and embedded Linux

2013-03-20 Thread Thiago Macieira
On quarta-feira, 20 de março de 2013 10.22.04, Ramakanthreddy_Kesireddy wrote: > Hi, > > I couldnot find macros of platform specific macros used in below link > http://qt-project.org/doc/qt-5.0/qtglobal.html#macros > > Please let me know how can I differentiate desktop linux and embedded linux > us

Re: [Interest] Qt builds

2013-03-20 Thread Thiago Macieira
On quarta-feira, 20 de março de 2013 14.21.56, Alexpux wrote: > For my builds I use gcc-4.7.2 with threads=posix and exceptions=sjlj for > both 32 and 64 bit builds. Latest MinGW-w64 builds: 1. > x32-4.7.2-release-posix-sjlj-rev11.7z > 2. x64-4.7.2-release-posix-sjlj-rev11.7z Ugh, SJLJ. We've tra

Re: [Interest] Qt builds

2013-03-20 Thread Thiago Macieira
On quarta-feira, 20 de março de 2013 12.54.35, Алексей Павлов wrote: > Hi! > I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded with > MinGW-w64 toolchains. > Links: > Qt-5.0.2-preview-x32.7z ternal-binary-packages/Qt-Builds

Re: [Interest] QMainWindow::restoreState : where to call it?

2013-03-20 Thread Bill Crocker
On 03/20/2013 09:05 AM, Etienne Sandré-Chardonnal wrote: > Dear all, > > I want to use QMainWindow::restoreState for restoring window dock widgets. > saveState works well in closeEvent (I have some data in the registry wrote > with > QSettings). > > restoreState does not work when called from the

Re: [Interest] Compiling Qt 4 on OS X 10.8 for 10.6 deployment

2013-03-20 Thread Michael Jackson
Looking closer at the command line that is generated by the configure script Qt actually sets the min system to 10.5 so I should be safe. Now to update my other libraries. Thanks MJ. On Mar 20, 2013, at 9:17 AM, Samuel Gaist wrote: > Hi, > > Have a look at http://qt-project.org/forums/viewt

Re: [Interest] Compiling Qt 4 on OS X 10.8 for 10.6 deployment

2013-03-20 Thread Samuel Gaist
Hi, Have a look at http://qt-project.org/forums/viewthread/25806/ Hope it helps On 20 mars 2013, at 14:01, Michael Jackson wrote: > What is the magic configure argument to be able to build Qt 4.8.4 on OS X > 10.8 but be able to deploy my application back to OS X 10.6.8? > > Thanks > --- > Mik

[Interest] QMainWindow::restoreState : where to call it?

2013-03-20 Thread Etienne Sandré-Chardonnal
Dear all, I want to use QMainWindow::restoreState for restoring window dock widgets. saveState works well in closeEvent (I have some data in the registry wrote with QSettings). restoreState does not work when called from the constructor (nothing is restored) I have googled for this, most people p

[Interest] QMainWindow::restoreState : where to call it?

2013-03-20 Thread Etienne Sandré-Chardonnal
Dear all, I want to use QMainWindow::restoreState for restoring window dock widgets. saveState works well in closeEvent (I have some data in the registry wrote with QSettings). restoreState does not work when called from the constructor (nothing is restored) I h __

[Interest] Compiling Qt 4 on OS X 10.8 for 10.6 deployment

2013-03-20 Thread Michael Jackson
What is the magic configure argument to be able to build Qt 4.8.4 on OS X 10.8 but be able to deploy my application back to OS X 10.6.8? Thanks --- Mike Jackson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/lis

Re: [Interest] QMenu: remove icons

2013-03-20 Thread Sensei
On 3/20/13 11:55am, Igor Grivko wrote: > Hi Sensei, > > There is a property in QAction: > iconVisibleInMenu : bool > > I suppose you need to use it. That's it! Thank you very much! ___ Interest mailing list Interest@qt-project.org http://lists.qt-pro

Re: [Interest] QMenu: remove icons

2013-03-20 Thread Igor Grivko
Hi Sensei, There is a property in QAction: iconVisibleInMenu : bool I suppose you need to use it. Best regards, Igor Grivko On Wed, Mar 20, 2013 at 2:46 PM, Sensei wrote: > Dear all, > > it should be easy, but I didn't find any way to do this. How do I remove > icons in a QMenu? > > More prec

Re: [Interest] Qt Macros for desktop and embedded Linux

2013-03-20 Thread Amogh Kudari
Hi Ramakanthreddy, Here is a list of macro's for different OS. /* The operating system, must be one of: (Q_OS_x) ==> x indicates Operating System used. DARWIN - Darwin OS (synonym for Q_OS_MAC) SYMBIAN - Symbian MSDOS- MS-DOS and Windows OS2 - OS/2 OS2EMX

[Interest] QMenu: remove icons

2013-03-20 Thread Sensei
Dear all, it should be easy, but I didn't find any way to do this. How do I remove icons in a QMenu? More precisely: I add QActions to a menu, and each QAction has an icon. On OSX the standard is NOT to display icons in menus, but only in toolbars. The only way I've found is stupid and cumbers

Re: [Interest] Qt builds

2013-03-20 Thread Alexpux
20.03.2013, в 14:33, Rutledge Shawn написал(а): > > On 20 Mar 2013, at 11:21 AM, Alexpux wrote: >> I don't know how it need memory) I have computer with Win7 64-bit, 4Gb RAM, >> Processor Intel Core i5 3,3GHz. To complete one build with all prerequisites >> I need about 8-10 hours. I don't us

Re: [Interest] Qt builds

2013-03-20 Thread Rutledge Shawn
On 20 Mar 2013, at 11:21 AM, Alexpux wrote: > I don't know how it need memory) I have computer with Win7 64-bit, 4Gb RAM, > Processor Intel Core i5 3,3GHz. To complete one build with all prerequisites > I need about 8-10 hours. I don't use any specific compiler options to reduce > memory usage.

[Interest] Qt Macros for desktop and embedded Linux

2013-03-20 Thread Ramakanthreddy_Kesireddy
Hi, I couldnot find macros of platform specific macros used in below link http://qt-project.org/doc/qt-5.0/qtglobal.html#macros Please let me know how can I differentiate desktop linux and embedded linux using Qt macros. Is Q_OS_X11 for desktop Linux? Thanks and Regards, Ramakanth ___

Re: [Interest] Qt builds

2013-03-20 Thread Alexpux
20.03.2013, в 14:04, "K. Frank" написал(а): > Could you tell me which specific version of gcc you used and which > builds of mingw-w64? There are potentially some abi issues. For > example, I think the choice of dw2 vs. sjlj exception handling can > introduce abi breakage, and I think activati

Re: [Interest] Qt builds

2013-03-20 Thread K. Frank
¡Hola Алексей! On Wed, Mar 20, 2013 at 4:54 AM, Алексей Павлов wrote: > Hi! > I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded with > MinGW-w64 toolchains. > Links: > Qt-5.0.2-preview-x32.7z - 32-bit > Qt-5.0.2-preview-x64.7z - 64-bit Thank you. That's a very nice contribu

[Interest] Qt builds

2013-03-20 Thread Алексей Павлов
Hi! I upload packages for Qt-5.0.2 preview with QtCreator-2.7.0-rc builded with MinGW-w64 toolchains. Links: Qt-5.0.2-preview-x32.7z - 32-bit Qt-5.0.2-preview-x64.7z