When comparing FLTK vs Prima, the Slant community recommends FLTK for most people. In the question“What are the best cross-platform GUI toolkits?” FLTK is ranked 12th while Prima is ranked 25th. The most important reason people chose FLTK is:
It's simple design and lack of more advanced C++ features makes it easy for beginners.
Specs
Ranked in these QuestionsQuestion Ranking
Pros
Pro Simplicity
It's simple design and lack of more advanced C++ features makes it easy for beginners.
Pro Fast
Well-designed widgets, coded with careful attention to rendering/execution speed.
Pro Stable
FLTK code developed more than 10 years ago still compiles and runs perfectly, without changes.
Pro Lightweight
Uses a limited and lightweight design and restricts itself to solely GUI functionality. Because of this restriction, the FLTK hello world example is only about 100 KiB.
Pro GUI designer
Fast Light User-Interface Designer (FLUID) included.
Pro Thorough documentation
Pro Open source
Pro Stable
Pro Easy to use
Great for beginners and gurus alike.
Pro Relatively compact codebase
167K SLOC in 2022.
Pro Consistent look and behavior across platforms
Pro Visual builder included
Pro Free/gratis
Pro BSD license
Pro Mature
Since 2001 on CPAN website.
Cons
Con Can be too simple for some projects
FLTK offers far fewer widgets than most other toolkits.
Con Does not look like a native application
Because it uses non-native widgets, it doesn't look like a native application on any platform.
Con Old-looking by default
Con No mobile support
