public string SelectedAnswer { get => this.combobox.SelectedItem.ToString(); }
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.
Кстати, программа работать не будет, т.к. переменная k не инициализирована, отчем компилятоор должен был сообщить.