[Interest] Unable to post here through GMane

2012-02-27 Thread Nikos Chantziaras
Since the Nokia NNTP server doesn't offer the new lists, I tried using GMane to post here. But it doesn't work. The mail never arrives here. Is anyone aware of the problem? Can this be fixed? ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Unable to post here through GMane

2012-02-27 Thread Nikos Chantziaras
On 28/02/12 00:55, Stephen Kelly wrote: Andreas Pakulat wrote: I tried using GMane to post here. But it doesn't work. The mail never arrives here. Thats something to take up with the gmane admins, nothing anybody here on the list can do much about I think. Although I can confirm that it

[Interest] Strange problem where exec() of dialogs returns immediately

2012-03-10 Thread Nikos Chantziaras
I have a very strange problem, where calls to functions like QMessageBox::question() or QMessageBox::exec() or FileDialog::getOpenFileName() (and other cases where dialogs create their own, local event loops) will return immediately without waiting for the user to do any input first. Even

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
I'm CCing the list. That's what it's there for to begin with :-) On 11/03/12 11:42, Adrien Guinet wrote: Le 10/03/2012 19:15, Nikos Chantziaras a écrit : On 10/03/12 17:59, Thiago Macieira wrote: Please provide us a compileable testcase. I was able to reproduce this with a minimal

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
On 11/03/12 16:32, Diego Schulz wrote: On Sat, Mar 10, 2012 at 3:15 PM, Nikos Chantziarasrea...@gmail.com wrote: On 10/03/12 17:59, Thiago Macieira wrote: Please provide us a compileable testcase. I was able to reproduce this with a minimal application. I'm attaching it. It just

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
On 11/03/12 19:09, Thiago Macieira wrote: On domingo, 11 de março de 2012 18.45.50, Nikos Chantziaras wrote: On 11/03/12 18:33, Thiago Macieira wrote: On domingo, 11 de março de 2012 18.25.58, Nikos Chantziaras wrote: But it is the creation of that message box that causes the problem, right

Re: [Interest] Strange problem where exec() of dialogs returns immediately

2012-03-11 Thread Nikos Chantziaras
On 11/03/12 19:58, Thiago Macieira wrote: On domingo, 11 de março de 2012 19.39.31, Nikos Chantziaras wrote: The application is an engine for running programs in it, and those programs have their own internal event loops. They call callbacks so the host application can advance its own event

Re: [Interest] Key_Cancel on Macintosh

2012-03-20 Thread Nikos Chantziaras
On 20/03/12 19:31, John Weeks wrote: On 20-Mar-2012, at 10:24 AM, Konstantin Tokarev wrote: On Windows, I can filter keypress events looking for Qt::Key_Cancel, which is generated by pressing Ctrl+Break.The Macintosh equivalent is Cmd-period. As far as I can make out, the Cocoa system

Re: [Interest] Changing link color of QLabel

2012-03-27 Thread Nikos Chantziaras
On 27/03/12 10:19, Nikos Chantziaras wrote: Links in QLabels do not obey their palette setting (QPalette::Link). How do I change the color of links? An HTML style tag, like: a {color: some_color;} doesn't help me, since what I need is set the link color to the same color as normal text

Re: [Interest] QtArg

2012-04-10 Thread Nikos Chantziaras
On 10/04/12 15:54, Thiago Macieira wrote: On terça-feira, 10 de abril de 2012 12.00.18, Igor Mironchik wrote: Here is very simple command line arguments parser. Look at it: http://code.google.com/p/qtargparser/ There's another one being developed for Qt 5:

Re: [Interest] QtArg

2012-04-10 Thread Nikos Chantziaras
On 10/04/12 22:24, Thiago Macieira wrote: On terça-feira, 10 de abril de 2012 22.07.49, Nikos Chantziaras wrote: Which is a pity. There's a lot of functionality in the KDE libs that you should use. You should consider transforming your Qt-only app into a KDE one. That is really bad advise

Re: [Interest] QtArg

2012-04-10 Thread Nikos Chantziaras
On 10/04/12 22:38, Thiago Macieira wrote: On terça-feira, 10 de abril de 2012 22.30.54, Nikos Chantziaras wrote: On 10/04/12 22:24, Thiago Macieira wrote: On terça-feira, 10 de abril de 2012 22.07.49, Nikos Chantziaras wrote: Which is a pity. There's a lot of functionality in the KDE libs

Re: [Interest] QtArg

2012-04-11 Thread Nikos Chantziaras
On 11/04/12 18:02, Thiago Macieira wrote: On quarta-feira, 11 de abril de 2012 17.46.55, Nikos Chantziaras wrote: [...] Lots of people seem to think that porting from Qt 4 to 5 would require the same amount of refactoring work as the change from Qt 3 to 4. All I can say is don't panic

Re: [Interest] [ Missing pixels when using drawLine ]

2012-04-12 Thread Nikos Chantziaras
On 14/03/12 09:48, ashish raste wrote: [...] The qDebug() in mouseMoveEvent() shows that some pixels arent tracked. I assume that the mouseMoveEvent can't happen for every pixel which are drawn. Now, I am curious to know whether there is any way to calculate the pixel-values, which are not

Re: [Interest] QtArg

2012-04-17 Thread Nikos Chantziaras
On 11/04/12 19:44, Thiago Macieira wrote: On quarta-feira, 11 de abril de 2012 18.20.52, Nikos Chantziaras wrote: If you have started to look into this, let us know quickly which modifications you have to make. Some of the transition needs might be unintentional and we still have time to fix

Re: [Interest] Appending QTextEdit in the QWidget

2012-04-17 Thread Nikos Chantziaras
On 17/04/12 15:04, Sujan Dasmahapatra wrote: I want to append QTextEdit in the QWidget. QWidget has a specified width and height. I want to append QTextEdit on the widget in such a way that max 2 textedit should be there horizontally, after that 3^rd textedit should be added vertically, means

Re: [Interest] Contributor agreement rundown

2012-04-17 Thread Nikos Chantziaras
[mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Nikos Chantziaras Sent: Tuesday, April 17, 2012 5:55 PM To: interest@qt-project.org Subject: [Interest] Contributor agreement rundown I went to register for a Gerrit account. There I saw that I must agree to a contributor

Re: [Interest] Contributor agreement rundown

2012-04-18 Thread Nikos Chantziaras
On 18/04/12 21:41, Quim Gil wrote: Hi, first just making sure you are aware of qt-project.org/legal.html Most of the content of this thread is explained there, although perhaps less poetically or straightforward. On 04/18/2012 11:01 AM, ext Nikos Chantziaras wrote: So that argument is moot

Re: [Interest] Contributor agreement rundown

2012-04-18 Thread Nikos Chantziaras
Then I'd say Qt was not suitable for open governance and open development. Or not ready for it. It's a funny situation right now. I can use Qt like an open project, but am not allowed to contribute to it in an open manner. In a sense, you must contribute more than you get. That is unfair.

Re: [Interest] Contributor agreement rundown

2012-04-19 Thread Nikos Chantziaras
On 19/04/12 23:16, Till Oliver Knoll wrote: Am 19.04.2012 um 19:43 schrieb Nikos Chantziarasrea...@gmail.com: In my apps, I provide OK/Apply/Cancel buttons in dialogs with settings under KDE. When running in Gnome however, all settings apply instantly when changes, and the dialog only has a

Re: [Interest] Contributor agreement rundown

2012-04-20 Thread Nikos Chantziaras
On 20/04/12 09:37, Till Oliver Knoll wrote: Am 20.04.2012 um 00:13 schrieb Nikos Chantziarasrea...@gmail.com: ... I meant that this is exactly an example that there seems to be no common agreement what the shortcut for fullscreen should be, even on the same platform. Every platform

Re: [Interest] Contributor agreement rundown

2012-04-20 Thread Nikos Chantziaras
On 20/04/12 11:31, Konstantin Tokarev wrote: 20.04.2012, 00:38, Scott Aron Bloomscott.bl...@onshorecs.com: Applications should follow the human interface guidelines of the systems they target. But it would be much more convenient if it followed user settings instead. What do you mean with

Re: [Interest] Contributor agreement rundown

2012-04-20 Thread Nikos Chantziaras
On 20/04/12 11:28, Konstantin Tokarev wrote: 20.04.2012, 02:13, Nikos Chantziarasrea...@gmail.com: On 20/04/12 00:45, Till Oliver Knoll wrote: It described in the human interface guidelines of each platform. You can google them. As I wrote already, even Apple seems to be not sure

Re: [Interest] Contributor agreement rundown

2012-04-20 Thread Nikos Chantziaras
On 20/04/12 11:38, Konstantin Tokarev wrote: 20.04.2012, 12:35, Nikos Chantziarasrea...@gmail.com: On 20/04/12 11:31, Konstantin Tokarev wrote: 20.04.2012, 00:38, Scott Aron Bloomscott.bl...@onshorecs.com: Applications should follow the human interface guidelines of the systems they

Re: [Interest] Standard QKeySequence for Fullscreen

2012-04-21 Thread Nikos Chantziaras
On 21/04/12 12:56, Till Oliver Knoll wrote: Am 21.04.12 01:46, schrieb Nikos Chantziaras: On 20/04/12 12:33, Till Oliver Knoll wrote: ... I don't know whether this is already taken care of, but - where applicable - the standard keys should also consider user settings which might have changed

Re: [Interest] Help, please !!!

2012-04-23 Thread Nikos Chantziaras
On 23/04/12 20:17, Miguel Milán Isaac wrote: I need to use QListQListint * * list; but I do not know how to initialize it. I want to do something like this: if (! listRemoved- at (pos) - contains (id)) { //do something } QList QListint* * list = new QList QListint* ; //

Re: [Interest] Help, please !!!

2012-04-23 Thread Nikos Chantziaras
sharing, the cost of removing the inner pointer isn't that much. QList QList int Is much safer Scott -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Nikos

Re: [Interest] Help, please !!!

2012-04-23 Thread Nikos Chantziaras
-project.org Subject: Re: [Interest] Help, please !!! Not true at all.. -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Nikos Chantziaras Sent: Monday, April 23, 2012 10:44 AM

Re: [Interest] Building 32-bit Qt 5 on Mac

2012-04-23 Thread Nikos Chantziaras
On 23/04/12 23:19, Paul Miller wrote: On 4/23/2012 1:19 PM, Stephen Chu wrote: Will 32-bit build be supported in Qt 5? Or we Mac guys will all have to force our users to 64-bit land? I don't know how far back you need to support, but we dropped support for 32 bit Mac last year. Pretty much

Re: [Interest] Building 32-bit Qt 5 on Mac

2012-04-23 Thread Nikos Chantziaras
On 23/04/12 23:49, Michael Jackson wrote: On Apr 23, 2012, at 4:32 PM, Nikos Chantziaras wrote: Are there 32bit-only 10.5 systems? Can it even be installed on a Mac that lacks a 64bit CPU? [...] I am going to do this from memory but www.apple.com is going to be the source for the exact

Re: [Interest] Building 32-bit Qt 5 on Mac

2012-04-23 Thread Nikos Chantziaras
On 24/04/12 02:34, Paul Miller wrote: On 4/23/2012 3:49 PM, Stephen Chu wrote: On 4/23/12 4:32 PM, Nikos Chantziaras wrote: On 23/04/12 23:19, Paul Miller wrote: On 4/23/2012 1:19 PM, Stephen Chu wrote: Will 32-bit build be supported in Qt 5? Or we Mac guys will all have to force our users

Re: [Interest] Help, please !!!

2012-04-26 Thread Nikos Chantziaras
On 26/04/12 19:01, André Somers wrote: Op 23-4-2012 20:44, Nikos Chantziaras schreef: Then you're not doing what you think you're doing: QList QListintlistOfLists; QListint listOfInts; listOfInts.append(10); listOfLists.append(listOfInts); listOfLists[0

Re: [Interest] Help, please !!!

2012-04-26 Thread Nikos Chantziaras
On 26/04/12 23:51, Andre Somers wrote: Op 26-4-2012 18:47, Nikos Chantziaras schreef: On 26/04/12 19:01, André Somers wrote: Op 23-4-2012 20:44, Nikos Chantziaras schreef: Then you're not doing what you think you're doing: QListQListintlistOfLists; QListint

Re: [Interest] Help, please !!!

2012-04-26 Thread Nikos Chantziaras
On 27/04/12 00:45, Scott Aron Bloom wrote: Nope. That was not the issue. The issue was that when you append list A into list B, you can't get to list A because what's inside list B is a copy of A, not A itself. You might want to read again from the first post.

Re: [Interest] Help, please !!!

2012-04-26 Thread Nikos Chantziaras
On 27/04/12 01:48, Scott Aron Bloom wrote: I'm not sure if you're serious or are trolling me for fun. I *do* have a sense of humor, but this one I don't get :-/ How is this wrong? You claim that if you do: QListint someOtherList; QList QListintlist;

Re: [Interest] Standard QKeySequence for Fullscreen

2012-05-08 Thread Nikos Chantziaras
On 08/05/12 21:33, Rick Stockton wrote: I am delighted to advise this list that my Update to provide 'QKeySequence::FullScreen' has been integrated into the Staging Branch for Qt 5.0. As Oliver found and documented so clearly (thanks, Oliver!), Qt 5.0 will recognize both F11 (alone) and

Re: [Interest] error: taking address of temporary [-fpermissive]

2012-06-01 Thread Nikos Chantziaras
On 01/06/12 19:11, Robert Wood wrote: Folks, I have just upgraded to Mageia Linux 2 and am now getting this compile error: error: taking address of temporary [-fpermissive] This was previously compiling just fine. I'm now running Creator 2.4.1 Based on Qt 4.8.0. Anyone know what is

Re: [Interest] Porting Qt app to windows

2012-06-02 Thread Nikos Chantziaras
On 01/06/12 14:49, Chasc wrote: I have recently developed a C++ desktop application in Linux using Qt Creator and have successfully opened the project in the Windows version of Qt Creator. The app runs successfully in the windows Qt Creator IDE but fails to run independently on the Windows

Re: [Interest] C++11 in Qt5

2012-06-11 Thread Nikos Chantziaras
You cannot build Qt with GCC 2.4. On 12/06/12 00:19, Scott Aron Bloom wrote: I would say almost all NEW embedded systems.. However, I can tell you, I had a client last year stuck on gcc 2.4, because the CPU vendor who put out the gcc tool chain, never updated them, and those with hardware

Re: [Interest] Porting Qt app to windows

2012-06-19 Thread Nikos Chantziaras
On 19/06/12 06:08, Chasc wrote: On Sun, 2012-06-03 at 00:47 +0300, Nikos Chantziaras wrote: On 01/06/12 14:49, Chasc wrote: I have recently developed a C++ desktop application in Linux using Qt Creator and have successfully opened the project in the Windows version of Qt Creator. The app runs

[Interest] QChar can't handle 1:N case conversion?

2012-07-26 Thread Nikos Chantziaras
Normally, Unicode defines conversions for things like ß (U+00DF, German sharp S) to SS. How can I do that with QChar? The toCaseFolded() and toLower() member functions return a single QChar, while mappings like ß - SS would need two QChars to get the result. How's this supposed to work?

Re: [Interest] Getting the timezone from Qt?

2012-07-27 Thread Nikos Chantziaras
On 27/07/12 13:42, Konrad Rosenbaum wrote: On Friday 27 July 2012 09:33:27 Nikos Chantziaras wrote: Is there a way to get the current timezone in standard IANA format from Qt? (Meaning a string like America/New_York, Europe/Paris, etc.) If your software is under a GPL-compatible license

Re: [Interest] Getting the timezone from Qt?

2012-07-27 Thread Nikos Chantziaras
On 27/07/12 20:15, Konrad Rosenbaum wrote: On Friday 27 July 2012 14:54:04 Nikos Chantziaras wrote: On 27/07/12 13:42, Konrad Rosenbaum wrote: On Friday 27 July 2012 09:33:27 Nikos Chantziaras wrote: Is there a way to get the current timezone in standard IANA format from Qt? (Meaning

Re: [Interest] Getting the timezone from Qt?

2012-07-29 Thread Nikos Chantziaras
On 29/07/12 14:15, Konrad Rosenbaum wrote: On Saturday 28 July 2012, Nikos Chantziaras wrote: But thank you very much for the pointer anyway. At least I can look at that code to get an idea about how to get the needed info from the system :-) src/tzsys*.cpp :-) The unix variant should

Re: [Interest] Getting the timezone from Qt?

2012-07-30 Thread Nikos Chantziaras
On 30/07/12 10:36, Konrad Rosenbaum wrote: On Sunday 29 July 2012 22:30:32 Nikos Chantziaras wrote: [...] I'm looking for /etc/timezone and /etc/localtime. In case the latter is a symlink, it's possible to get the timezone from the path string. You are right of course - I should remember

Re: [Interest] Getting the timezone from Qt?

2012-07-30 Thread Nikos Chantziaras
On 31/07/12 06:43, Lorn Potter wrote: On 31/07/2012, at 1:28 PM, Nikos Chantziaras wrote: I wonder if it's possible to deduce the timezone from the system's UTC offset? The offset can be determined through gmtime() and localtime(), both in C89 so nothing platform-specific here: If it were

[Interest] When is QDir::Drives useful?

2012-07-30 Thread Nikos Chantziaras
According to: http://qt-project.org/doc/qt-4.8/qdir.html#Filter-enum QDir::Drives lists drives. Which directory would you have to open though that could possibly contain disk entries? ___ Interest mailing list Interest@qt-project.org

Re: [Interest] When is QDir::Drives useful?

2012-07-31 Thread Nikos Chantziaras
on windows, for instance? André Op 31 jul. 2012 om 07:21 heeft Nikos Chantziaras rea...@gmail.com het volgende geschreven: According to: http://qt-project.org/doc/qt-4.8/qdir.html#Filter-enum QDir::Drives lists drives. Which directory would you have to open though that could possibly contain

Re: [Interest] When is QDir::Drives useful?

2012-07-31 Thread Nikos Chantziaras
-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Nikos Chantziaras Sent: Monday, July 30, 2012 11:00 PM To: interest@qt-project.org Subject: Re: [Interest] When is QDir::Drives useful? The root directory on Windows contains the root directory of the currently active drive

Re: [Interest] When is QDir::Drives useful?

2012-07-31 Thread Nikos Chantziaras
On 31/07/12 09:33, André Somers wrote: Op 31-7-2012 8:30, André Somers schreef: Op 31-7-2012 8:20, Nikos Chantziaras schreef: Nope. I just tested it under Windows XP and 7. The contents of / are the contents of C:/. Which makes sense, since Windows completely lacks the concept of a single

Re: [Interest] When is QDir::Drives useful?

2012-07-31 Thread Nikos Chantziaras
is going on. Scott -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Nikos Chantziaras Sent: Monday, July 30, 2012 11:00 PM To: interest@qt-project.org Subject: Re: [Interest

Re: [Interest] When is QDir::Drives useful?

2012-07-31 Thread Nikos Chantziaras
[mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Scott Aron Bloom Sent: Tuesday, July 31, 2012 12:08 AM To: Nikos Chantziaras; interest@qt-project.org Subject: Re: [Interest] When is QDir::Drives useful? AHHH... sorry... In that case.. I believe you

Re: [Interest] Getting the timezone from Qt?

2012-07-31 Thread Nikos Chantziaras
On 31/07/12 10:18, Konrad Rosenbaum wrote: On Tuesday 31 July 2012 07:02:22 Nikos Chantziaras wrote: On 31/07/12 06:43, Lorn Potter wrote: On 31/07/2012, at 1:28 PM, Nikos Chantziaras wrote: I wonder if it's possible to deduce the timezone from the system's UTC offset? The offset can

[Interest] Qt5 font rendering is wrong

2012-08-14 Thread Nikos Chantziaras
When building apps against Qt5 (current Git), the font rendering is off. It doesn't seem to obey my system's font configuration, like Qt4 does. Fonts appear thin and washed out. This is on Linux with KDE 4.9. Am I missing some configuration option? I did enable the system freetype and

Re: [Interest] Programming strategy for old-school, 2-d video game?

2012-08-14 Thread Nikos Chantziaras
I'd recommend SDL instead of Qt for this. That way you get Android and iOS compatibility too. Take a look at a very short and easy to follow tutorial/introduction for game programming with SDL and see if you like it: http://lazyfoo.net/SDL_tutorials/index.php On 11/08/12 22:32, K. Frank

Re: [Interest] Clarification re destructor in subclass of QWidget

2012-08-16 Thread Nikos Chantziaras
The compiler will never create heap cleanup code for you. Other than that, Qt objects that take a parent arg in their ctor are automatically deleted when the parent is deleted (by Qt, not by the compiler.) So don't delete those manually in the dtor, unless you've set their parent to be NULL.

Re: [Interest] Clarification re destructor in subclass of QWidget

2012-08-16 Thread Nikos Chantziaras
On 16/08/12 20:23, Konstantin Tokarev wrote: 16.08.2012, 20:47, Nikos Chantziaras rea...@gmail.com: The compiler will never create heap cleanup code for you. Unless you are using RAII That's code *you* write. It's not generated for you

Re: [Interest] Qt5 font rendering is wrong

2012-08-17 Thread Nikos Chantziaras
On 15/08/12 13:47, Christoph Feck wrote: On Wednesday 15 August 2012 01:55:08 Nikos Chantziaras wrote: When building apps against Qt5 (current Git), the font rendering is off. It doesn't seem to obey my system's font configuration, like Qt4 does. Fonts appear thin and washed out

Re: [Interest] Qt5 headers not found and autocomplete doesn't work

2012-08-17 Thread Nikos Chantziaras
On 17/08/12 19:23, Morgan McKenzie wrote: [...] My problem is that in QtCreator (using 2.5.2), none of the QT headers are found - #include QObject says no file or directory found. Likewise, auto-completion doesn't work except for things in the project itself. Have you configured Creator to

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread Nikos Chantziaras
On 18/08/12 20:46, K. Frank wrote: [...] This does raise one c++ / Qt question for me: When an automatic variable goes out of scope, its destructor is called (and, at some point, the stack is popped, but not by the destructor nor by any explicit user code). When a heap variable is deleted,

Re: [Interest] Double destruction of Qt objects in Qt example code?

2012-08-18 Thread Nikos Chantziaras
On 18/08/12 23:21, André Pönitz wrote: On Sat, Aug 18, 2012 at 09:29:53PM +0300, Nikos Chantziaras wrote: [...] On a similar note, don't delete QObject instances manually. Call their deleteLater() member function instead. There are only rare cases where deleteLater is needed. Otherwise

Re: [Interest] 64-bit internal ID for QModelIndex?

2012-08-21 Thread Nikos Chantziaras
On 21/08/12 23:55, Stephen Chu wrote: On 8/21/12 4:26 PM, Nikos Chantziaras wrote: On 21/08/12 22:45, Stephen Chu wrote: On 8/21/12 3:35 PM, Christoph Feck wrote: On Tuesday 21 August 2012 20:55:00 Stephen Chu wrote: Is there a way to store a 64-bit internal ID in QModelIndex? The function

Re: [Interest] 64-bit internal ID for QModelIndex?

2012-08-21 Thread Nikos Chantziaras
On 22/08/12 00:54, Stephen Chu wrote: On 8/21/12 5:47 PM, Nikos Chantziaras wrote: On 21/08/12 23:55, Stephen Chu wrote: On 8/21/12 4:26 PM, Nikos Chantziaras wrote: On 21/08/12 22:45, Stephen Chu wrote: On 8/21/12 3:35 PM, Christoph Feck wrote: On Tuesday 21 August 2012 20:55:00 Stephen Chu

Re: [Interest] Necessitas alpha4 has been released

2012-08-27 Thread Nikos Chantziaras
On 27/08/12 12:49, BogDan wrote: Hello everyone, I'd like to let you know that we managed to ship our alpha4 SDK. Here http://groups.google.com/group/android-qt/browse_thread/thread/f89bc5a49dbe27c1 you can find the full announce. You should probably mention Android somewhere in those

Re: [Interest] packaging a build

2012-09-07 Thread Nikos Chantziaras
Try building the application with console support (CONFIG += console) and start it from a console to see if it says something. On 07/09/12 00:52, Morgan McKenzie wrote: Hi, I've built a sample application for a school project and I'm trying hand it in. However, it doesn't seem to work on any

Re: [Interest] tiny fonts in linux

2012-09-08 Thread Nikos Chantziaras
On 08/09/12 21:19, Rollastre Prostrit wrote: First of all, excuse me. I bet this has been asked many times. I searched the answer without success, however. In a kubuntu (12.04) my own applications I write with QtCreator (2.4.1) and Qt (4.8) are suddenly displaying tiny fonts and they weren't

Re: [Interest] My experience porting to Qt5 (on OS X)

2012-09-12 Thread Nikos Chantziaras
On 02/09/12 14:38, Till Oliver Knoll wrote: The effor was indeed very painless: in my case I mainly had to adjust a few #include (QtGui/Whatever - QtWidgets/Whatever) and change QDir::convertSeparators to QDir::toNativeSeparators. Note that if you just do: #include Whatever then you can

Re: [Interest] Access Violation using QFile and QTextStream

2012-09-14 Thread Nikos Chantziaras
Now you're leaking memory every time that function is called. On 14/09/12 15:42, Heidler, Kirstin (GE Oil Gas) wrote: Hi, thank you, I also found a different solution. I am not sure why it is working, but it does. I simply create the file object as a pointer to the file object like that:

[Interest] QApplication event loop advancing with longjmp()

2012-09-26 Thread Nikos Chantziaras
For the last couple of years, I'm being bothered by an event loop integration problem. I have some code that runs its own main loop on program start, and events need to be handled through callbacks. For example, if the code needs a line of text from the user, it calls: int getInput(char*

Re: [Interest] Qt 5: using QPixmap outside of GUI thread

2012-09-26 Thread Nikos Chantziaras
On 27/09/12 01:40, Stephen Chu wrote: I was browsing the platform plugin code and find this new ThreadedPixmaps capability bit. After checking QPixmap source I think it means some platforms support using QPixmap in non-GUI thread? It looks like Cocoa and Windows platform do support this

Re: [Interest] Is Qt Library for OS X frameworks only?

2012-10-17 Thread Nikos Chantziaras
On 17/10/12 18:17, Andrea Franceschini wrote: 2012/10/17 Daniel Price daniel.pr...@fxhome.com: I always build Qt on the Mac without frameworks. I have no idea why Qt/mac defaults to using fraweworks as they add no value (with one exception - the dummy menu nib) and just make deployment 1000x

Re: [Interest] Is Qt Library for OS X frameworks only?

2012-10-17 Thread Nikos Chantziaras
On 17/10/12 19:19, Daniel Price wrote: [...] If you've put the effort into porting you app to OSX, do it properly. Build Qt without frameworks, deploy the .dylibs to your bundle and use a post-build script to set the install names. There's a tool called mac dylib bundler which can do much

[Interest] Who disconnects lambda expression slots?

2012-12-14 Thread Nikos Chantziaras
Since it's now possible to use lambdas as slots: connect(sender, SenderClass::connected, [this] () { this-doSomething(); }; I have to wonder what is supposed to happen when the object where the lambda appears gets destroyed. In this particular example, if the lambda

Re: [Interest] Who disconnects lambda expression slots?

2012-12-14 Thread Nikos Chantziaras
On 15/12/12 03:12, Thiago Macieira wrote: On sábado, 15 de dezembro de 2012 02.53.58, Nikos Chantziaras wrote: Since it's now possible to use lambdas as slots: connect(sender, SenderClass::connected, [this] () { this-doSomething(); }; I have to wonder what is supposed

Re: [Interest] Who disconnects lambda expression slots?

2012-12-14 Thread Nikos Chantziaras
On 15/12/12 05:19, Thiago Macieira wrote: On sábado, 15 de dezembro de 2012 03.45.56, Nikos Chantziaras wrote: So I take it that means we should always manually disconnect in such cases. Thinking about it, it seems possible to have done this automatically, but only for QObjects and through

Re: [Interest] Who disconnects lambda expression slots?

2012-12-14 Thread Nikos Chantziaras
On 15/12/12 06:33, Thiago Macieira wrote: On sábado, 15 de dezembro de 2012 05.46.39, Nikos Chantziaras wrote: On 15/12/12 05:19, Thiago Macieira wrote: [...] It automatically disconnects when the destruction reaches the QObject destructor. Which QObject destructor? The receiver is being

Re: [Interest] Who disconnects lambda expression slots?

2012-12-14 Thread Nikos Chantziaras
On 15/12/12 07:07, Thiago Macieira wrote: On sábado, 15 de dezembro de 2012 06.50.07, Nikos Chantziaras wrote: On 15/12/12 06:33, Thiago Macieira wrote: I don't see your point. QObject::connect adds the connection object to a list. QObject::~QObject destroys the list. What I don't get is how

Re: [Interest] Qt 5 on Mac OS X

2012-12-25 Thread Nikos Chantziaras
On 20/12/12 14:09, Sorvig Morten wrote: - 10.6 requires a machine that can run 64-bit apps, with the minor exception the early 2006 Intel Core Solo/Duo iMacs and MacBooks which lacks 64-bit support. - This means you can produce either a 32-bit binary or a 64-bit binary which runs on

Re: [Interest] Qt 5 on Mac OS X

2012-12-25 Thread Nikos Chantziaras
Thanks. It seems macx-g++-32 is recognized too. On 25/12/12 11:32, Philippe wrote: configure -platform macx-clang-32 Philippe On Tue, 25 Dec 2012 11:29:59 +0200 Nikos Chantziaras rea...@gmail.com wrote: On 20/12/12 14:09, Sorvig Morten wrote: - 10.6 requires a machine that can run 64

[Interest] It is possible to get the actual name of a local character set?

2012-12-26 Thread Nikos Chantziaras
I need the actual name of the character set from which QFile::decodeName() is converting. The docs say that it's the local 8-bit encoding. I'm not sure what that means, but I suppose it's the codec returned by QTextCodec::codecForLocale(). Unfortunately, this:

Re: [Interest] It is possible to get the actual name of a local character set?

2012-12-26 Thread Nikos Chantziaras
On 26/12/12 17:02, Thiago Macieira wrote: On quarta-feira, 26 de dezembro de 2012 16.42.44, Nikos Chantziaras wrote: Why do you need the codec name anyway? So that I can tell another library what encoding to use for filenames when it wants to create files. Can't you tell it to use

Re: [Interest] QFile copy and sync/fsync

2013-01-03 Thread Nikos Chantziaras
On 03/01/13 21:48, Thiago Macieira wrote: On quinta-feira, 3 de janeiro de 2013 21.45.39, Nikos Chantziaras wrote: Have you tried to open the files in QIODevice::Unbuffered mode? If you do that, then the data should be written out immediately when the filesystem is mounted synchronously

Re: [Interest] Problems porting to Qt5

2013-01-04 Thread Nikos Chantziaras
On 04/01/13 15:59, Thiago Macieira wrote: On sexta-feira, 4 de janeiro de 2013 13.47.13, Marcelo Estanislau Geyer wrote: I have an application that is compiled to Qt4.8.3 and I am interested in porting to Qt5. The problem is that I need to run this system and depend on Kubuntu

Re: [Interest] Problems porting to Qt5

2013-01-05 Thread Nikos Chantziaras
On 05/01/13 23:53, Christoph Feck wrote: On Friday 04 January 2013 21:42:59 Nikos Chantziaras wrote: I'm not using anything from KDE, actually. The application compiles just fine with Qt5. The whole point is that Qt5 applications don't have a native look under KDE. If you mean the Oxygen

Re: [Interest] Linux OpenGL bug? Driver problem?

2013-01-07 Thread Nikos Chantziaras
On 08/01/13 00:40, Guido Seifert wrote: However, I discovered that the glhypnotizer in Qt demos shows exactly the same behaviour. As soon as I add a second thread my machine freezes and I have to shut it down remotely. I doubt that Digia made exactly the same mistake I did. I suppose it has

Re: [Interest] Qt5 mingw builds

2013-01-08 Thread Nikos Chantziaras
On 08/01/13 23:22, Konrad Rosenbaum wrote: On Tuesday 08 January 2013, Diego Iastrubni wrote: So... cross compiling Qt5/win32 from Linux is not possible yet? In theory it should be possible to create a mkspec for this, but nobody attempted it yet. I myself gave up cross-compiling with MinGW

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
On 17/01/13 16:31, Jason H wrote: You all are doing it wrong!!! grin If you want to make Qt5 web-able, what you need is a way to directly translate the OpenGL calls of Qt5's QML to WebGL. I'm not even using OpenGL. There's nothing to translate. There's about 3000 lines of code that are

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
On 17/01/13 16:53, Konstantin Tokarev wrote: 17.01.2013, 18:49, Nikos Chantziaras rea...@gmail.com: On 17/01/13 16:43, Konstantin Tokarev wrote: 17.01.2013, 18:40, Nikos Chantziaras rea...@gmail.com: On 17/01/13 16:31, Jason H wrote: You all are doing it wrong!!! grin

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
On 17/01/13 16:43, Konstantin Tokarev wrote: 17.01.2013, 18:40, Nikos Chantziaras rea...@gmail.com: On 17/01/13 16:31, Jason H wrote: You all are doing it wrong!!! grin If you want to make Qt5 web-able, what you need is a way to directly translate the OpenGL calls of Qt5's QML

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
On 17/01/13 17:17, Yves Bailly wrote: Le 17/01/2013 16:10, Nikos Chantziaras a écrit : I don't have customers. Why does everybody assume that *everything* out there is developed on a commercial basis? Have you people never used a piece of software that is development by someone

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
On 17/01/13 17:31, Pau Garcia i Quiles wrote: On Thu, Jan 17, 2013 at 4:28 PM, Nikos Chantziaras rea...@gmail.com mailto:rea...@gmail.com wrote: I'm thinking more of ScummVM, DOSBox, Snes9x, etc. Would you run those on the server? Sure you can do it. But running on the client

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
On 17/01/13 17:51, Konstantin Tokarev wrote: 17.01.2013, 19:38, Nikos Chantziaras rea...@gmail.com: On 17/01/13 17:31, Pau Garcia i Quiles wrote: On Thu, Jan 17, 2013 at 4:28 PM, Nikos Chantziaras rea...@gmail.com mailto:rea...@gmail.com wrote: I'm thinking more of ScummVM

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-17 Thread Nikos Chantziaras
to JS compiler. So it can potentially allow deployment of code written in any language. *From:* Nikos Chantziaras rea...@gmail.com *To:* interest@qt-project.org *Sent:* Thursday, January 17, 2013 11:00 AM *Subject

Re: [Interest] Bringing Qt, C++ To The Web

2013-01-18 Thread Nikos Chantziaras
On 18/01/13 11:35, Mandeep Sandhu wrote: On Fri, Jan 18, 2013 at 2:46 PM, Konstantin Tokarev annu...@yandex.ru wrote: 18.01.2013, 12:44, Mandeep Sandhu mandeepsandhu@gmail.com: to know a minimum of 3 technologies, but more like 6: HTML, JS, CSS, MIME, MIME's a tech?!?! I thought

Re: [Interest] Qt 5.0 and Mac OS X

2013-02-04 Thread Nikos Chantziaras
On 04/02/13 23:04, Sami Maisniemi wrote: Hi, I installed Qt 5.0.1 with default settings, but I am not able to rebuild any projects, because Qt Creator cannot find qmake: The Qt version is invalid: qmake does not exist or is not executable File not found: The qmake command /usr/bin/qmake

Re: [Interest] Qt 5 blog

2013-02-12 Thread Nikos Chantziaras
On 11/02/13 20:52, Amy Zinkann wrote: Just an FYI that ICS has had three recent blog posts on What's New in Qt 5: * The QScreen Class http://blog.ics.com/2013/02/whats-new-in-qt-5-the-qscreen-class.html QScreen is not new though. ___

Re: [Interest] Upgrade to Qt 5 -- pros and cons?

2013-03-22 Thread Nikos Chantziaras
On 22/03/13 10:05, Pritam Ghanghas wrote: Hi I would also like to know the status of Qt5 with regard to cross flatform desktop application. In particular I keep seeing posts on the mailing list that talk about animations and openGL Drivers. Here is my main concern, can we do native

Re: [Interest] qmake and rpath

2013-04-26 Thread Nikos Chantziaras
On 26/04/13 16:23, Wilhelm wrote: Hi all, I have a problem with qmake setting rpath: [...] QMAKE_RPATHDIR += ../lib by this gives me -Wl,-rpath,/home/lmeier/Software/qtwm/branches/macros/apps/apps5/lib in the Makefile, and that's not correct. How do I set the rpath to point to the

[Interest] QtMultimedia examples don't play video on all systems?

2013-06-03 Thread Nikos Chantziaras
I've built the video examples that come with the 5.1.0 beta (videowidget and player). They are unable to play video when running the *.exe in a VMWare environment running XP and 7. It works fine on a native Windows 7 environment with the NVidia drivers installed. The same videos play just

[Interest] Qt5: Where's Q_OS_X11?

2013-06-16 Thread Nikos Chantziaras
Even though Q_OS_X11 is mentioned in the docs: For example, Q_OS_X11 which is defined for the X Window System. in: http://doc-snapshot.qt-project.org/qt5-dev/qtcore/qtglobal.html#details Q_OS_X11 is in fact not defined anywhere. How do I find out at compile-time whether I'm building for

  1   2   3   >