Behind the interface you have a normal Linux distribution, with packaging, apt-get, and all, so yes you can.
Will such a program be a first-class citizen though?
In other words, will the user have a harder time using it than using a QML/HTML5 app? I could see that be if only QML/HTML5 integrate well with the phone interface.
If you mean first-class as in look like an app like came with the phone, then there's no way around using a toolkit that has a familiar theme and behavior. The story is no different than a Linux desktop.
you can use C++ for most things in your app and QML for UI only. or you can use C++ for everything. You're not required to use QML and HTML5 for your app, but in most cases (though not all) doing the UI in QML will be a good choice
Re:Ubuntu Edge price dropped to $695
by justincormack on Thursday August 08, 2013 @11:30AM
(#6179510)
(side issue it is not clear if it will be ARM, it might be Intel)
Can I `gcc-arm -o MyApp main.c` on my PC and run MyApp on any Ubuntu Edge phone, without having to unlock them or enable them for dev or any other nonsense? Or is development restricted to QML and HTML5?