You are not logged in.

1

Thursday, June 25th 2009, 3:31am

Qt Creator : 3 little problem

I'm using Kubuntu and working on a big project, btu now that's really the beginning.

1.How to configure LD_LIBRARY_PATH in Qt creator?
I have to exec my project in an extern terminal or i get
"error while loading shared libraries: libmwmclmcrrt.so: cannot open shared object file: No such file or directory"

because i'm using MATLAB librairies.

2.
How to add preproc directive in the .pro file?
indeed, i have to use some libs ( MATLAB libs) amd i had this :
LIBS+= -L/opt/MATLAB/MATLAB_Compiler_Runtime/v78/runtime/glnx86 -lmwmclmcrrt -lstdc++ -lgcc_s -L/home/czhang/proj/Lib/Linux -lPIV
in the .pro.

is thaht correct?

how to add a line specifically for windows compiling and other one for linux compiling?

3.
I cannot have stdout display without correctly ending of my programm.
is that normal? have i to call quit() fonction?is it important?

thx all