Unsolved What is the best way to create scalable UI and write code for it?
Aleksandr Novik last edited by
I am new to Qt, and I am currently working on Qt Creator. I added several objects in Design mode, and I noticed that they generated code in
When I change positions of my elements, or their properties they don't change in code. Also, when I delete items from canvas, their representation in code doesn't get deleted, which causes many troubles.
So I want to create a desktop application which has scalable UI, and I don't know which technologies to use. Thank you.
SGaist Lifetime Qt Champion last edited by
Hi and welcome to devnet,
Just in case:
- did you re-run qmake after your changes ?
- did you try to do a full rebuild ?
Try to delete your build folder and build your project again. I use Qt Creator + designer and I can modify objects perfectly
Thank You last edited by
Some simple questions ??
Did you save the file before running the application?
Is it not working after rebuilding the whole application? (as said by sGaist)
I don't know which technologies to use.
For me QT Design mode seems superb for static UI. If you are going for dynamic UI then coding it would be better.
Check this one:
You would get some concept from this one too
mrjj Lifetime Qt Champion last edited by
For the scalable part.
You must use Layouts from the very start.