[Interest] qt project switch to msvc

2013-08-28 Thread tangk
hi all: when I use the qmake -tp vc -r to swtich the pro to visual studio project. but the depends is not set. how can I use the depends of msvc? thanks very much. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/lis

Re: [Interest] Issue on windows with canonicalFilePath

2013-08-28 Thread Scott Aron Bloom
Its also broken if the link points to a UNC path. Scott -Original Message- From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Scott Aron Bloom Sent: Wednesday, August 28, 2013 6:42 PM To: qt-int

[Interest] Issue on windows with canonicalFilePath

2013-08-28 Thread Scott Aron Bloom
On the Windows system there was a directory created using mklink (microsofts version of ln), I have found I a bug in QFileInfo::canonicalFilePath; Here is the code #include #include #include #include using namespace std; int main( int argc, char ** argv ) { QApplication appl( argc, argv

Re: [Interest] Compilation error

2013-08-28 Thread Koehne Kai
>On quarta-feira, 28 de agosto de 2013 15:27:07, Koehne Kai wrote: >> > main.cpp:196:36: error: '_fileno' was not declared in this scope >> >> [...] >> >> > I would be grateful if anyone can advise why I am getting this error and >> > how I might fix it >> >> First of all, you're apparently not alo

Re: [Interest] Compilation error

2013-08-28 Thread Thiago Macieira
On quarta-feira, 28 de agosto de 2013 15:27:07, Koehne Kai wrote: > > main.cpp:196:36: error: '_fileno' was not declared in this scope > > [...] > > > I would be grateful if anyone can advise why I am getting this error and > > how I might fix it > > First of all, you're apparently not alone > h

Re: [Interest] Compilation error

2013-08-28 Thread Koehne Kai
-- Kai Köhne, Senior Software Engineer - Digia, Qt Digia Germany GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Anja Wasenius Sitz der Gesellschaft: Berlin. USt-IdNr: DE 286 306 868 Registergericht: Amtsgericht Charlottenburg, HRB 144331 B

[Interest] Compilation error

2013-08-28 Thread Graham Labdon
Hi I just downloaded Qt 5.1.1 I used configure as follows configure -platform win32-g++ -opengl desktop When I compile I am getting this error - main.cpp: In member function 'virtual QVariant PatternistApplicationParser::defaultValue(const QApplicationArgument&) const': main.cpp:196:36: error: '

Re: [Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

2013-08-28 Thread gsmember gs
Hi,I wrote a desktop app on Debian5. Right after the first manager->get() I opened pstree and htop:root@kvm2:~# pstree | grep votebotserver |-screen---votebotserver---4*[{votebotserver}] htop shows me 4 running processess as well. I tried to kill them with following methods: QNetworkSession

Re: [Interest] Qt styles, Qt installations

2013-08-28 Thread Clément Geiger
Hi, Your advices combined solved my issue ! Thanks a lot :) Cheers Clément 2013/8/28 Thiago Macieira > On quarta-feira, 28 de agosto de 2013 13:50:37, Konstantin Tokarev wrote: > > > Then I run it, but my application now looks ugly ! Bizarre colors, > aliased > > > texts and so on. > > > >

Re: [Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

2013-08-28 Thread Thiago Macieira
On quarta-feira, 28 de agosto de 2013 14:21:08, gsmember gs wrote: > I will create one when I'm back home. Also tell us how you found those processes, how you tried to kill them; how you found open file descriptors. I also understood you're saying there's a leak. How did you diagnose that? --

Re: [Interest] Qt styles, Qt installations

2013-08-28 Thread Thiago Macieira
On quarta-feira, 28 de agosto de 2013 13:50:37, Konstantin Tokarev wrote: > > Then I run it, but my application now looks ugly ! Bizarre colors, aliased > > texts and so on. > > > > (here is a screenshot of a minimal test case I set up to show the > > difference : http://hpics.li/a879bd1 The expec

[Interest] QML / Qt Creator: Invalid property when using intermediate template

2013-08-28 Thread Peter Koek
I have the following class hierarchy:Base (Q_OBJECT) -> IntermediateTemplate -> Derived (Q_OBJECT, not templated)The base class exposes some properties that are used by derived. Both the Base and the Derived are exposed to QML, but only Derived is creatable.The template exists to reduce boilerpl

Re: [Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

2013-08-28 Thread gsmember gs
I will create one when I'm back home. Date: Wed, 28 Aug 2013 17:47:45 +0530 Subject: Re: [Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close From: mandeepsandhu@gmail.com To: gsmem...@hotmail.de CC: interest@qt-project.org On Wed, Aug 28, 201

Re: [Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

2013-08-28 Thread Mandeep Sandhu
On Wed, Aug 28, 2013 at 5:45 PM, gsmember gs wrote: > Thanks for your reply, > in gerneral I do one request after the other. Always with the same QNAM > object. > After a hour I have about 600 running processess and 1024 (which is the > user limit) open file descriptors. > Do you have a sample p

Re: [Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

2013-08-28 Thread Mandeep Sandhu
> > > My problem is that, whenever I call manager->get(), this spawns 3 > processess, which I am unable to shut down. After a while (running many > requests) there were a huge amount of running processess and open file > descriptors. They are consuming RAM and running out of max open file > descri

[Interest] QNAM::get() spawns three processess and opens file descriptors which I am unable to close

2013-08-28 Thread gsmember gs
Hello, I am facing a problem with QNAM when using the following request class: =request.h:=class Request: public QObject{Q_OBJECTpublic:Request();~Request(); void func_startRequest(); pr

Re: [Interest] Qt styles, Qt installations

2013-08-28 Thread Konstantin Tokarev
28.08.2013, 12:52, "Clément Geiger" : > Hi there, > > I'm experiencing some trouble understanding what's going on with Qt styles. > Let me explain my setup: I'm running ubuntu 12.04, with the standard Qt libs > installed from the Ubuntu repositories. That gives us Qt 4.8.1. > > Today I wanted to

[Interest] Qt styles, Qt installations

2013-08-28 Thread Clément Geiger
Hi there, I'm experiencing some trouble understanding what's going on with Qt styles. Let me explain my setup: I'm running ubuntu 12.04, with the standard Qt libs installed from the Ubuntu repositories. That gives us Qt 4.8.1. Today I wanted to try out the latest Qt 4.8 to date, Qt 4.8.5 So I do

Re: [Interest] Relashionship between time_t and QDateTime

2013-08-28 Thread Constantin Makshin
I looked at the MSVC 2012 runtime library sources and it appears that localtime() is not as bad as I thought. It applies the DST offset if daylight saving is found to be active. It also tries some dark magic to calculate historical DST transitions (I'm not sure I'm allowed to post fragments of this

Re: [Interest] Relashionship between time_t and QDateTime

2013-08-28 Thread Calogero Mauceri
On 8/27/2013 11:01 PM, Constantin Makshin wrote: The original Calogero's message mentioned a file from December 2007, a date outside of DST (unless there's a country that uses DST during winter). Now it's August, so the DST is active and during "UTC -> local time" conversion Windows adds that 1