github-linguist / linguist

Language Savant. If your repository's language is being reported incorrectly, send us a pull request!
MIT License
12.32k stars 4.26k forks source link

Good support of Qt projects #447

Closed tucnak closed 9 years ago

tucnak commented 11 years ago

Hello, @github!

So, I am a bit disappointed with GitHub's support of Qt.

http://en.wikipedia.org/wiki/Qt_(framework) Qt (/ˈkjuːt/ "cute") is a cross-platform application framework that is widely used for developing application software with a graphical user interface (GUI) (in which cases Qt is classified as a widget toolkit), and also used for developing non-GUI programs such as command-line tools and consoles for servers.

I am talking about language recognition and highlighters. There are files with extensions .pro (qmake instructions) .qml (http://en.wikipedia.org/wiki/QML) for instance. They haven't been recognized yet by Language Savant.

My projects can help you with recognition: tucnak/conway, tucnak/supernova and tucnak/novile (LGPL)

On other hand, they don't have any QML files, and it's pity, 'cause we need their support too. I hope project of @pmpuro will help you pmpuro/qt-samples (I am not sure with license, but looks like it's (L)GPL)

tnm commented 11 years ago

We merged https://github.com/github/linguist/pull/349 recently, so when the next version of linguist goes out to github.com, we should see better support.

rschiang commented 11 years ago

Basic QML detection could be implemented by identifying .qml extension I believe. Currently they are mis-categorized as Prolog (ex. rschiang/moedict-meego).

arfon commented 9 years ago

We'd welcome a PR addressing this issue. You can read our contributing guidelines here: https://github.com/github/linguist/blob/master/CONTRIBUTING.md