License
libqxt is licensed under CPL wich allows use in open source as well as in propriarty software.
We don't take part in any holy os,compiler,license war, contrary we believe in cross platform and cross business software.
We support all mayor operating systems and all mayor compilers.
For more information about the CPL please look at the LICENSE file shipped with libqxt.
We don't take part in any holy os,compiler,license war, contrary we believe in cross platform and cross business software.
We support all mayor operating systems and all mayor compilers.
For more information about the CPL please look at the LICENSE file shipped with libqxt.
downloading
You can find the sources and the binaries
here.
You can also get the bleeding-edge version from our svn repository with this command:
You might want to stick to the released versions if you need stability.
You can also get the bleeding-edge version from our svn repository with this command:
svn co svn://libqxt.org/svn/libqxt/trunk libqxtThe svn version is in development, so some things may not work right at all times.
You might want to stick to the released versions if you need stability.
installing
Configure
make sure qmake is in your PATH and run./configureor configure.bat on windows.
see configure --help for more information
(for msvc you could try ./configure.bat -msvc and open the solution file in msvc, we recomend compiling on commandline though)
build
typemake && make installor nmake , when using msvc
Note: This will also install qxt.prf to your qtdir/mkspecs/features directory.
assistant docs
to get the docs into assistant:close all running instances of assistant first
then type :
assistant -addContentFile /usr/share/doc/libqxt/index.dcfor when on windows:
assistant -addContentFile C:\libqxt\doc\libqxt\index.dcf
change the command to match your install path if required
Using Qxt in your project
Add the following lines to your project file:
Note: Some modules depend on other modules. The required modules are added automatically.
if you have an existing msvc project and can't swtich to qmake you can use zbenjamins solution:
CONFIG += qxt
QXT += core gui
The QXT variable should contain the modules you want. (In this example core and gui are used.)
Note: Some modules depend on other modules. The required modules are added automatically.
if you have an existing msvc project and can't swtich to qmake you can use zbenjamins solution:
Howto use libqxt in a existing Visual Studio Project:
1. create and install libqxt. (See install instructions)
2. add {libqxtinstalldir}\include\qxt\QxtCore to your include path
3. add {libqxtinstalldir}\lib to your library search path
4. to add a specific libqxt module (f.e QxtSql) you have to:
- add {libqxtinstalldir}\include\qxt\QxtSql to your include path
- add the library QxtSql.lib to your project
Most of the times you have also to include the QxtCore and QxtKit modules.
It's done the same way like the example above.
