mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-15 14:16:07 -06:00
[GH-ISSUE #73] no template named 'WithDlgLayout' in namespace 'Upp' in GUI tutorial Gui16 #40
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ultimatepp#40
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @erusyd on GitHub (May 4, 2022).
Original GitHub issue: https://github.com/ultimatepp/ultimatepp/issues/73
In GUI Tutorial, section “16.2 Upp namespace agnostic implementation”, the given code compiles with following error:
error: no template named 'WithDlgLayout' in namespace 'Upp'; did you mean simply 'WithDlgLayout'?
I need to remove the "Upp::" before "WithDlgLayout" to:
And, it seems that, by default, Layout Designer does not add "Upp::" before "InsetFrame()" in SetFrame(). I need to manually add "Upp::" before "InsetFrame()" in dlg.lay from:
to
@klugier commented on GitHub (May 4, 2022):
Hello @erusyd,
Thank you for your report! Should be fixed in
d670725115. Please verify GUI tutorial page tomorrow on our website (it is updated once per day).Also, to tutorial dictionary. I had created Gui16a & Gui16b. The second one is Upp namespace agnostic implementation. The nightly build that contains this change will be available tomorrow, too.
I am closing this ticket now, if something will be wrong, please reopen.
Klugier
@mirek-fidler commented on GitHub (May 4, 2022):
I think this does not solve Upp::InsetFrame() issue. That needs some work...
@erusyd commented on GitHub (May 6, 2022):
Yes. Anyway, U++ is a great software framework. Thank you guys!
@mirek-fidler commented on GitHub (May 7, 2022):
I believe it should be finally solved in current master.
@klugier commented on GitHub (May 9, 2022):
I can confirm that both cases has been fixed. @erusyd you could verify this by downloading latest nightly builds from https://www.ultimatepp.org/www$uppweb$download$en-us.html.
@erusyd commented on GitHub (May 10, 2022):
Verified. Thanks!