Skip to main content

Qt Creator plugins on FreeBSD

Posted in

While creating patches for Qt Creator to get it working on my FreeBSD I have noticed that not all its plugins have been compiled and (let us say so) installed. All plugins live here

$QTCREATOR_DIR/lib/qtcreator/plugins/Nokia/

I compiled Qt Creator and copied it to my $HOME/opt directory. So, QTCREATOR_DIR environment variable for my working Qt Creator is $HOME/opt/qt-creator-1.1.

Note: yours might be different.

So back to plugins. If some of plugins are not "installed" we need to compile them manually and "install" them manually also.

1. We go to src/plugins/ in Qt Creator's sources directory.
2. Take a look at all plugins available there.
3. cd to the directory of the plugin we want to install.
4. Run

$ qmake
$ make

This will generate .pluginspec file and shared library (.so)
5. Take these files and just copy them to
$QTCREATOR_DIR/lib/qtcreator/plugins/Nokia/
(in my case), or to the directory where you have you Qt Creator installed.

Next, run Qt Creator and check the list of available plugins. That's it.

Post new comment

The content of this field is kept private and will not be shown publicly.
CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
    Oo            o       O  ooOoOOo                  
o O O o O oO
O o `o O' o O
oOooOoOo O o O o
o O o O `O' o O 'o O
O o OoO o O o O o o
o O o o O O O o O O
O. O O O O ooOOoOo OooOO `Oo'oO'

Enter the code depicted in ASCII art style.