Re: [Interest] Converting std::string.c_str() code to use QString methods

2013-09-02 Thread baneyue
On Fri, Aug 30, 2013 at 03:08:42PM -0400, Michael Jackson wrote: > I have a large code base that we are migrating to more fully utilize Qt > classes. Many places in the code have lines like the following: > > std::string path("/path/to/foo.txt"); > FILE* f = fopen(path.c_str(), "wb"); > > If the

Re: [Interest] Qt-builds

2013-09-02 Thread Yang Fan
Thanks in advance. It saves lots of time. On Mon, Sep 2, 2013 at 8:38 PM, Alexey Pavlov wrote: > Hi! > > I upload my *Qt-5.1.1* release builds with *QtCreator-2.8.1*. I use > mingw-builds toolchain *GCC-4.8.1-rev5* dwarf and seh. > Qt builded with ANGLE and sql drivers for MySQL, PostgreSQL, Fi

Re: [Interest] Best choice for android/iOS/Windows/Mac

2013-09-02 Thread Muhammad Bashir Al-Noimi
On 09/02/2013 05:22 PM, Thiago Macieira wrote: > Widgets won't be supported on mobile platforms. How they won't be supported?! They already work! > They will compile, but they > will produce very ugly UIs. I successfully compiled my fist test https://github.com/mbnoimi/SimpleInvoice yesterday and

Re: [Interest] Best choice for android/iOS/Windows/Mac

2013-09-02 Thread Joseph Crowell
I spent a few days editing widget style sheets on my first mobile application for Meego only to find out that screen resolutions changed and made my widgets based ui look like caca on Android way back in the Qt 4.7 days. If you want to go and do the same you're more than welcome to do so but 25

Re: [Interest] My First approach with QT 5.1 on MacOS : very disappointing

2013-09-02 Thread Thiago Macieira
On segunda-feira, 2 de setembro de 2013 10:16:48, Vincent R. wrote: > 10:16:37: The process "/usr/bin/make" exited normally. Successful build. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center signature.asc Description: This is a digi

Re: [Interest] Best choice for android/iOS/Windows/Mac

2013-09-02 Thread Thiago Macieira
On segunda-feira, 2 de setembro de 2013 12:20:45, Vincent R. wrote: > Because from what I know only QT Quick 1 and widgets will be supported > by iOS. Or would it be easier to use widgets ? Qt Quick 2 will be supported on iOS too. Widgets won't be supported on mobile platforms. They will compile

Re: [Interest] How to keep the response files?

2013-09-02 Thread Thiago Macieira
On segunda-feira, 2 de setembro de 2013 13:42:08, Gisle Vanem wrote: > Is it possible to tell qmake to generate a "KEEP" inside the Nmake > generated makefiles? Some times I need to see what's been feed to > the compiler and linker. Like so: > > $(DESTDIR_TARGET): $(OBJECTS) . > $(LINK) $(LFLAG

Re: [Interest] Qt-builds

2013-09-02 Thread Alexey Pavlov
Hi! I upload my *Qt-5.1.1* release builds with *QtCreator-2.8.1*. I use mingw-builds toolchain *GCC-4.8.1-rev5* dwarf and seh. Qt builded with ANGLE and sql drivers for MySQL, PostgreSQL, Firebird and Oracle. *Links:* *32-bit:* x32-Qt-5.1.1+qtcreator-2.8.1-(gcc-4.8.1-dwarf-rev5).7z

Re: [Interest] My First approach with QT 5.1 on MacOS : very disappointing

2013-09-02 Thread Vincent R.
Le 02.09.2013 12:38, Till Oliver Knoll a écrit : > Am 02.09.2013 um 12:12 schrieb "Vincent R." : > >>> ..., by clicking on the tiny red button >> >>> top left - or press ESC. >> >> Except that the tiny red button IS NOT AVAILABLE !!! > > But hitting ESC worked for you, right? Good, that one was sol

[Interest] How to keep the response files?

2013-09-02 Thread Gisle Vanem
Is it possible to tell qmake to generate a "KEEP" inside the Nmake generated makefiles? Some times I need to see what's been feed to the compiler and linker. Like so: $(DESTDIR_TARGET): $(OBJECTS) . $(LINK) $(LFLAGS) /OUT:$(DESTDIR_TARGET) @<< $(OBJECTS) $(LIBS) << KEEP Alternatively, is

Re: [Interest] My First approach with QT 5.1 on MacOS : very disappointing

2013-09-02 Thread Rutledge Shawn
On 2 Sep 2013, at 12:38 PM, Till Oliver Knoll wrote: > Am 02.09.2013 um 12:12 schrieb "Vincent R." : > >>> ..., by clicking on the tiny red button >>> top left - or press ESC. >> >> Except that the tiny red button IS NOT AVAILABLE !!! > > But hitting ESC worked for you, right? Good, that one w

Re: [Interest] My First approach with QT 5.1 on MacOS : very disappointing

2013-09-02 Thread Till Oliver Knoll
Am 02.09.2013 um 12:12 schrieb "Vincent R." : >> ..., by clicking on the tiny red button >> top left - or press ESC. > > Except that the tiny red button IS NOT AVAILABLE !!! But hitting ESC worked for you, right? Good, that one was solved quickly. If a *usability issue* in a *development tool*

[Interest] Best choice for android/iOS/Windows/Mac

2013-09-02 Thread Vincent R.
Hi, Let's say I would like to developp an application that will be declined on the major desktop and mobile platforms(android & iOS) would it be a good option to use QT with QT Quick 1 ? Because from what I know only QT Quick 1 and widgets will be supported by iOS. Or would it be easier to use w

Re: [Interest] My First approach with QT 5.1 on MacOS : very disappointing

2013-09-02 Thread Vincent R.
Le 31.08.2013 13:06, Till Oliver Knoll a écrit : > >> ... >> UPDATE : I found that to quit the import lib dialog I can press Esc >> key >> but to me this is ugly, it shouldn't be difficult to rename the "Go >> back" button into Cancel when you are on the first state of the >> dialog... >> ... >> >

[Interest] DragLeaveEvent not called?

2013-09-02 Thread Etienne Sandré-Chardonnal
Hi, I'm still experimenting Drag&Drop. I have experience in Qt since 2002 but this is the first time I am trying drag & drop... In my main widget, I have a dragDropZone widget which is the active dropping zone. In the main widget constructor, I call: ui->dragDropZone->setAcceptDrops(true); ui-

Re: [Interest] My First approach with QT 5.1 on MacOS : very disappointing

2013-09-02 Thread Vincent R.
10:16:34: Running steps for project qmlc++... 10:16:34: Configuration unchanged, skipping qmake step. 10:16:34: Starting: "/usr/bin/make" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -c -pipe -std=c++11 -stdlib=libc+ -g -gdwarf-2 -isysroot /Appli

[Interest] Know if a drag/drop is in progress

2013-09-02 Thread Etienne Sandré-Chardonnal
Hi, Is there any way to know if a drag is in progress during a mouseMoveEvent? I used the example found in the documentation to implement dragging only after the user moved the mouse on a minium distance. However, this creates and execs multiple QDrag when the user continues moving the mouse. Do