Closed Serein207 closed 1 month ago
is that can not use in preview or can not use after compile can you give me more details, I do not use c++ if that display well after compile the merge is not necessary
It compiled error
can other Icons pass the compiler(such as Preview_one, Down_one)
There is no problem with other icons.
The compilation failed simply because Close_one
was written twice in the code, which would cause two members with the same name to appear in the Icon class in the .h file compiled by slint.
So, removing any one of them will make the code compile. :smile:
There is no problem with other icons.
The compilation failed simply because
Close_one
was written twice in the code, which would cause two members with the same name to appear in the Icon class in the .h file compiled by slint.So, removing any one of them will make the code compile. 😄
ok I see that, merge
This error may cause redeclaration error in cpp, but not cause in rust (? I guess :smiling_face_with_tear: