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

Alejandro Exojo aexojo at modpow.es
Fri Aug 30 19:18:31 CEST 2013


2013/8/30 Vincent R. <forumer at smartmobili.com>:
> Lion and I tried to find an good tutorial.
> I found this one :
> http://www.ics.com/blog/integrating-c-qml?page=1

I haven't read it, and I have in good consideration ICS guys, but you
make it sound like is hard to find a tutorial.

>From the welcome screen in Qt Creator you have a clear link to a bunch of them.

> I have downloaded the source code, started Creator and clicked on the
> Debug button but of course it doesn't
> work and I get the following errors :
>
> /Users/j.doe/Developer/Qt5.1.0/5.1.0/clang_64/include/QtCore/qlist.h:52:
> erreur : 'initializer_list' file not found
> #include <initializer_list>
>           ^

So, you used a project that uses C++11, and the compiler doesn't
enable C++11 by default. That's not Qt's fault.

> Démarrage de
> /Users/j.doe/Downloads/build-qmlc++-Desktop_Qt_5_1_0_clang_64bit-Debug/qmlc++.app/Contents/MacOS/qmlc++...QML
> debugging is enabled. Only use this in a safe environment.
> file:///Users/j.doe/Downloads/build-qmlc++-Desktop_Qt_5_1_0_clang_64bit-Debug/qmlc++.app/Contents/MacOS/main.qml:-1
> File not found
>
> /Users/j.doe/Downloads/build-qmlc++-Desktop_Qt_5_1_0_clang_64bit-Debug/qmlc++.app/Contents/MacOS/qmlc++
> a quitté avec le code 255

Hard to say which the problem is if you provide some messages in
French and no code at all...

> So I finally gave up for now and I tried to create a new hello world
> application, then I wanted to see the option to import an external
> library
> into the project so I right-clicked on the project -> Add library...
> then a dialog appeared but in the mean time I changed my mind and I
> wanted to do something else before inserting a libray BUT WHERE IS THE
> CANCEL BUTTON ? I have to launch process explorer to quit this dialog.

I have a cancel button (on LInux). I don't know if it follows some Mac
convention of not having a Cancel button.

Is not that is going to kill a kitten if you go forward in the dialog,
anyways. At the end you have a summary page that tells you exactly
what is going to be done, and at least in my case, the chance to
cancel or finish the dialog.

> I am a bit disappointed.
>
> I found this problem withing 10 minutes so now I am a bit afraid to
> keep on testing.

If you feel disappointed by that, I have bad news for you. This is the
least problematic thing you are going to face while programming.

-- 
Alejandro Exojo Piqueras

ModpoW, S.L.
Technova LaSalle | Sant Joan de la Salle 42 | 08022 Barcelona | www.modpow.es



More information about the Interest mailing list