MSSQL Browser Lite v1.0 Released

First version of the lightweight and easy to use MSSQL Server Browser Lite was released today. Currently it supports easy table browsing and of course all commands as long as you intend to work with commands.

You can download MSSQL Browser Lite from its official download page and please don’t forget to let me know of any bugs or issues you may find.

How to Convert QString to Wide C String (wchar_t *)

The same as standard C String, for this also you can go through standard C++ as shown below:

Let’s say you have a QString, like this:

QString s = "www.amin-ahmadi.com";

First convert it to std::wstring and then use its c_str method, like this:

s.toStdWString().c_str()


How to convert QString to C String (char *)

The best solution for this would be to go through standard C++ and it means this:

Let’s say you have a QString, like this:

QString s = "www.amin-ahmadi.com";

First convert it to std::string and then use its c_str method, like this:

s.toStdString().c_str()