The general Qt toolkit, consisting of Qt Essential code libraries, the Qt add-on APIs, and the Qt Creator IDE are available dual-licensed for commercial and GPL licenses. Most of the Qt APIs are available also under LGPLv3 license but not all of the Qt Add-on modules.
In addition, the commercial Qt license includes additional tools and solutions for embedded development.
scanf_s("%s", b.book_name);