Project

General

Profile

Logged in as brainvisa

Installation of Qt4 on I2BM network

Software update on /i2bm/research and consequences.
Added by Geffroy, Dominique about 14 years ago

As you may know, next version of BrainVISA will be in Qt4 (with the possibility for developpers to compile a Qt3 version). So we are going to install a more recent version of Qt4 (4.6.2) and also a more recent version of PyQt4 (4.7.2) and SIP (4.10) for Mandriva 2008 on /i2bm/research.

You may be affected by this change if :

- You use the Brainvisa subversion repository : you will have to recompile the repository (at least the parts that depend on sip).
- You use the python installed in /i2bm/research and have developped sip bindings : you will have to recompile them because of the new version of Sip.

I plan to do this installation on tuesday, 27th april. I will send a new email to warn you when the installation is done.

Don't hesitate to tell me if you think this change may cause trouble for you.


Comments

Added by Geffroy, Dominique about 14 years ago

The installation has been done successfully in Neurospin. It will be available tomorrow in MIRCen and SHFJ.

You have to recompile all your programs that depend on sip. Sorry for the inconvenience.

If you have any problem with this update, do not hesitate to ask.

Added by Geffroy, Dominique about 14 years ago

Compiling Brainvisa projects in qt4

On i2bm network, a new environment variable I2BM_QT enable to switch from qt 3 version to qt 4 version. The default value is currently 3 but you can change it to 4 in order to compile your repository with qt4.

To compile your repository in qt4, you should have in your .bashrc :

export I2BM_QT=4
i2bm_setup_repository trunk release $I2BM_OSID none

After this change, you will have to delete all the moc files (files generated by qt) from your build directory before recompiling all the repository.

find $BRAINVISA_BUILD -name "moc_*" -exec rm "{}" \;
build-config --version trunk --buildMode release $BRAINVISA_PROJECTS

Added by Geffroy, Dominique over 13 years ago

The default value for I2BM_QT variable will be changed today (30/11/2010) from 3 to 4. Indeed, the change to Qt4 has been done several months ago and now the trunk branch of the repository is no more compatible with Qt3.
Anyway, if you need Qt3 instead of Qt4 in the paths, you can change the value of I2BM_QT in your .bashrc configuration file.