Hello. Constructed the form in QtCreator, everything is beautiful, compiled, there are no icons on the buttons and the GraphicsView widget is crooked. Could not do anything. Please tell me who knows. Thank you in advance.

Qt bug.

    1 answer 1

    Because under the IDE program does not find the path to the icons. Start directory does not match. And the curve alignment is because the constructor and the library calculate the sizes in different ways. Yes, and the buttons make too much indent for images. Flaws! I just increased the fixed window size by 10px from that calculated by the designer. So what to continue after that play Qt? How many more "pitfalls" in front?

    enter image description here

    • 3
      For layout widgets, use linkers, store icons in resources. Everything is good with Qt. In comparison with other similar frameworks / libraries, it is the best :) And indicate the next time the version of Qt and Qt Creator is gil9red
    • Perhaps the commercial line has no flaws. I have Qt Creator 3.5.0 , on Qt 5.5.1 (GCC 5.2.1 20151010, 64 bits) . Almost like Delphi :). - Vyacheslav
    • one
      The difference between commercial and free licenses :) - gil9red
    • one
      Resource Collector - a file with a description of the paths to other files used in the program. As far as I remember, when compiling it gets into the executable file (for example, exe). If you use Qt Creator, then it is well able to create and fill resource files. In general, google, everything is very simple there. And Qt itself has very cool documentation - gil9red
    • Correcting this misunderstanding and examining the system I can say. Qt thing is very laconic and systematic, nothing more. And the interface is going to be as simple and fast as in Delphi. Great development environment. - Vyacheslav