Friday, October 16, 2009

Blogger Source Code Formatting

OK, this is nothing to do with Qt Creator but I wanted to share this site that formats source code ready for using in Blogger posts:

The results are pretty sweet:

 #include <QtGui/QApplication>  
#include "mainwindow.h"

int main(int argc, char *argv[])
QApplication a(argc, argv);
MainWindow w;;
return a.exec();

1 comment:

  1. Nice post..
    Also found a nice eclipse plugin to directly copy code as HTML from eclipse IDE.