Dear Lykurg and ^NyAw^,
Wow, is it just that simple?! QT really amazes me.
You really helped me out here, everything is perfectly clear right now. I was thinking too complicated. In Xcode / Cocoa it's actually much harder to do exactly this. If you ever have any Xcode / Cocoa related question, please contact me!
Generally I never ask for help. I want to figure out things like these myself. In the long run this is the best way to learn a new language in my opinion. But in this case I was completely stuck.
I did not really intend to offer a job, was just asking for an example. Please give me some info on how to donate to qtcentre.org (can't find the PayPal address). I love communities like these and always support them.
All your help is greatly appreciated,
Kind regards,
Anne
@wysota
Thanks for the address!
@^NyAw^ and Others
I tried to open your sample project, but the folder does not contain any .pro files.
The only files I see are .h, .cpp, .ui and .qrc.
How can I open such an project directly with QT? The .qrc is not recognized?
(Of cours I now just directly used the .cpp and .h files, but was just curious)
You can run "qmake -project" inside that folder. Then Qt is generating a pro file for you.
Hi,
I just don't added the pro file because I'm using Visual Studio on Windows and I'm not using the pro file, but there is an option to create the pro file that then I can attach.
Just use "qmake -project" as Lykurg said to create the "pro" file and then call "make" to compile the project.
It's a good idea to learn by yourself, but sometimes the examples don't show what you are expecting or you are not able really how something works. Then, ask the forum! (but first of all try to find similar posts on it).
Òscar Llarch i Galán
Bookmarks