Re: [Interest] how to define string variable in *.pro based on other string variables?

2013-01-22 Thread Mandeep Sandhu
On Wed, Jan 23, 2013 at 1:23 PM, Vincent Cai wrote: > Dear, > > > > I have below variable definition in *.pro file. > > n TSA_LibName = TSA_Base_X86_GCC > > n TSA_LibPath = "D:/TSA/TSA_Lib/trunk/dev/build/make/solutions/Base/lib" > > Then how can I define a variable which equal to below

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread Raul Metsma
There is one more issue with gdb and gcc with xcode http://news.softpedia.com/news/Apple-Confirms-Deprecation-of-ATS-framework-in-Xcode-4-6-Developer-Preview-1-304229.shtml Xcode 4.6 is also the last major release that will include the llvm-gcc compiler and the GDB debugger, according to Apple. D

Re: [Interest] QThreads: There's no one way to "do it right"! :)

2013-01-22 Thread Konstantin Tokarev
23.01.2013, 11:42, "Mandeep Sandhu" : > First I thought "I was doing it right" > > Then they said "you're doing it wrong" > (http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/) > > Then I thought "I _finally_ got it right"!! > > Now they say "You were not doing so wrong" > (http://wob

[Interest] how to define string variable in *.pro based on other string variables?

2013-01-22 Thread Vincent Cai
Dear, I have below variable definition in *.pro file. n TSA_LibName = TSA_Base_X86_GCC n TSA_LibPath = "D:/TSA/TSA_Lib/trunk/dev/build/make/solutions/Base/lib" Then how can I define a variable which equal to below value D:/TSA/TSA_Lib/trunk/dev/build/make/solutions/Base/lib/TSA_Base_X

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Vincent Cai
My mistake, I should give the full name of lib to PRE_TARGETDEPS. Thanks a lot! From: interest-bounces+wcai=cypress@qt-project.org [mailto:interest-bounces+wcai=cypress@qt-project.org] On Behalf Of Stefan Walter Sent: 2013年1月23日 15:42 To: interest@qt-project.org Subject: Re: [Interest] Ho

[Interest] QThreads: There's no one way to "do it right"! :)

2013-01-22 Thread Mandeep Sandhu
First I thought "I was doing it right" Then they said "you're doing it wrong" (http://blog.qt.digia.com/blog/2010/06/17/youre-doing-it-wrong/) Then I thought "I _finally_ got it right"!! Now they say "You were not doing so wrong" (http://woboq.com/blog/qthread-you-were-not-doing-so-wrong.html)!!

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Stefan Walter
Hi Vincent, please post also your .pro file content with the PRE_TARGETDEPS specification of yours. Thanks, Stefan >>> Von: Vincent Cai An:Stefan Walter , "interest@qt-project.org" Datum: 23.1.2013 11:31 Betreff: Re: [Interest] How to rebuild a Qt project which linked with a static lib

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Vincent Cai
Hi Stefan, Thanks for your reply. Unfortunately, when I add the lib the PRE_TARGETDEPS, I can’t pass compiling, which report below error: mingw32-make[2]: *** No rule to make target `TSA_Base_X86_GCC', needed by `debug/tst_unittesttest.exe'. Stop. TSA_Base_X86_GCC is my static lib

Re: [Interest] QFileDialog: what's wrong with this minimal example

2013-01-22 Thread Wilhelm
Am 22.01.2013 19:46, schrieb nikita baryshnikov: > Hi > > #include > > #include > > > int main(int argc, char *argv[]) > > { > > QApplication app(argc, argv); > > QFileDialog fd(0, "Load from file", QDir::currentPath(), "All > Files (*)"); > > // fd.exec(); > > /

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Stefan Walter
The qmake variable PRE_TARGETDEPS might be what you are looking for. By using this variable in your project file, you should be able to specify the dependencies to the static library. >>> Von: Vincent Cai An:Thiago Macieira , "interest@qt-project.org" Datum: 23.1.2013 10:53 Betreff: Re: [In

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Vincent Cai
This will force to rebuild the whole project or just force re-link? -Original Message- From: interest-bounces+wcai=cypress@qt-project.org [mailto:interest-bounces+wcai=cypress@qt-project.org] On Behalf Of Thiago Macieira Sent: 2013年1月23日 12:52 To: interest@qt-project.org Subject:

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Thiago Macieira
On quarta-feira, 23 de janeiro de 2013 15.53.47, Lincoln Ramsay wrote: > This is most noticeable with static libraries but it can also be a > problem with shared libraries. > > I imagine qmake doesn't do this because of how difficult it is to know > exactly which libs the linker will use when li

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Lincoln Ramsay
On 23/01/13 13:29, Vincent Cai wrote: I have a Qt project which is linked with a static library. When I updated the static library, and try build the project, the project can't detect that the library is updated and need to rebuild. qmake does not write out dependencies be

Re: [Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Thiago Macieira
On quarta-feira, 23 de janeiro de 2013 03.29.59, Vincent Cai wrote: > Dear All, > > I have a Qt project which is linked with a static library. > When I updated the static library, and try build the project, the > project can't detect that the library is updated and need to rebuil

[Interest] How to rebuild a Qt project which linked with a static library?

2013-01-22 Thread Vincent Cai
Dear All, I have a Qt project which is linked with a static library. When I updated the static library, and try build the project, the project can't detect that the library is updated and need to rebuild. So that I have to rebuild the whole project. Could anybo

Re: [Interest] [HELP]About Qt for Android.

2013-01-22 Thread Scott Aron Bloom
The best I would recommend, is to statically bound the .lib file AFTER you port it to Android. Then you wont have to worry about distributing it. Bogdan has already done that for the Qt library Scott From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott

[Interest] [HELP]About Qt for Android.

2013-01-22 Thread Xiaognag Wang
Hello everyone, I am trying to port a Qt application to an andriod device, this app depend on MITAB library(a third-part c++ dynamic library), I use Necessitas Qt SDK for this. I am a newer in Qt for Android, I meet some problem when I compiling it: (error) mitab library can not find, many "unde

Re: [Interest] Accessing staticMetaObject of Q_GADGET class by name or TypeID

2013-01-22 Thread Shady Zayat
I already do this by maintaining a big ugly if/else block to test for all of my custom enumeration types. I actually just realized metaObjectForType is available and I tried using it. The code looks much cleaner, but then it doesn't work for the few enums that are not defined in QObjects. On Tue

Re: [Interest] Accessing staticMetaObject of Q_GADGET class by name or TypeID

2013-01-22 Thread Thiago Macieira
On terça-feira, 22 de janeiro de 2013 18.51.15, Shady Zayat wrote: > Is there a way to access the QMetaObject for a non QObject subclass that > has the Q_GADGET macro, in runtime, by class name or by type id? I'm > looking for something similar to > const QMetaObject * QMetaType::metaObjectForType

[Interest] Accessing staticMetaObject of Q_GADGET class by name or TypeID

2013-01-22 Thread Shady Zayat
Is there a way to access the QMetaObject for a non QObject subclass that has the Q_GADGET macro, in runtime, by class name or by type id? I'm looking for something similar to const QMetaObject * QMetaType::metaObjectForType(int type) What I'm trying to write here is a generic function that return

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread André Pönitz
On Tue, Jan 22, 2013 at 09:39:10PM +, danny wrote: > Again I assumed it was common knowledge. It has been discussed on > this list (or perhaps the old interest list) before. > > But if you want to me to report it in the tracker, I will. bugreports.qt-project.org is the preferred way to repo

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread danny
Again I assumed it was common knowledge. It has been discussed on this list (or perhaps the old interest list) before. But if you want to me to report it in the tracker, I will. On 22 Jan 2013, at 20:40, Vadim Peretokin wrote: > Have you reported this information anywhere else at all, especia

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread danny
On 22 Jan 2013, at 21:25, André Pönitz wrote: > What version of GDB are you actually using? > > Andre' GNU gdb 6.3.50-20050815 (Apple version gdb-1822) ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/in

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread André Pönitz
On Tue, Jan 22, 2013 at 08:50:30PM +, danny wrote: > I assumed it was common knowledge - you WILL hit this problem if you > try to trace into a non-trivial Qt application on Mac. It was > discussed previously on the mailing list and the Qt Creator manual > alludes to this in two places: > > "S

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread André Pönitz
On Tue, Jan 22, 2013 at 08:35:55PM +, danny wrote: > > > > "Useless" is a bit strong as far as I can tell. I am not aware of > > any open show-stoppers in JIRA right now, and in the admittedly rare > > cases where I use it it appears to work. But functionality-wise it's > > certainly not on p

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread danny
I assumed it was common knowledge - you WILL hit this problem if you try to trace into a non-trivial Qt application on Mac. It was discussed previously on the mailing list and the Qt Creator manual alludes to this in two places: "Since Python enabled versions of GDB are bundled with all recent L

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread Vadim Peretokin
Have you reported this information anywhere else at all, especially on the bugtracker, since you've started experiencing these problems? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread danny
> "Useless" is a bit strong as far as I can tell. I am not aware of any > open show-stoppers in JIRA right now, and in the admittedly rare > cases where I use it it appears to work. But functionality-wise it's > certainly not on par with GDB-on-something-like-Fedora. > Yes, useless. If I creat

Re: [Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread André Pönitz
On Tue, Jan 22, 2013 at 01:03:23PM +, Danny Price wrote: > What is the status of LLDB support via Creator on OSX? Nobody had time to look into it since Summer or so it as far as I know. My main problem with LLDB right now is that it does not even pretend to play nicely in the cross-platform a

[Interest] Qt5 on MacOS X: State of the Toolbar

2013-01-22 Thread Sensei
Dear all, is there any news on the toolbar on MacOS X? The last news reported that an alternative to setUnifiedTitleAndToolBarOnMac was using an external code as in http://qt.gitorious.org/qtplayground/qtmacextras Is there any planned date (version) to support "native look and feel" as

Re: [Interest] I.MX6 and QT5

2013-01-22 Thread Eric Nelson
On 01/17/2013 10:58 AM, Thomas Senyk wrote: > On Thu, January 17, 2013 09:46:30 Eric Nelson wrote: >> On 01/17/2013 03:55 AM, Thomas Senyk wrote: >>> On Thu, January 17, 2013 13:52:06 Mandeep Sandhu wrote: On Wed, Jan 16, 2013 at 4:22 AM, Eric Nelson wrote: > On 01/15/2013 03:43

[Interest] QtCreator, Mac OSX and LLDB?

2013-01-22 Thread Danny Price
What is the status of LLDB support via Creator on OSX? I noticed that the latest version of Creator (2.6.1) has the option to use LLDB as a debugger per-kit. But if I try to launch a LLVM-built executable in debug mode, it just hangs. I really hope that this gets some love soon as GDB is useless

[Interest] Memory Leak in Graphic Card. OpenGL.

2013-01-22 Thread Guido Seifert
Hi, could anyone help me with my OpenGL problem? Either it is a bug in the Qt OpenGL libs, or it is me. Most likely it is me. I am quite the beginner with OpenGL. The code: http://pastebin.com/wQByE92h The getImage function is called thousand of times over hrs. Exactly that's what I wish. My p

[Interest] Qt5 and QtQuick1.1 bug

2013-01-22 Thread nikita baryshnikov
Hi everyone I have project which uses Qt5 and QtQuick 1.1 imports in qml. For QtQuick 1.1 was used desktop components from qt4 branch bit ported to Qt5. Crash happend on dynamic Window component creation. For example this code will cause the segfault. Window { width: 360; height: 360; id: mai