Important: Please read the Qt Code of Conduct -

OpenCV + Qt Different behaviours

  • Hi all,

    My program shows different behavior when launching from Qt IDE than when it is running from the terminal ( ./myProgram).

    I guess that the system environments are different, but I tried to export all the environment variables before executing the program without success.

    About the program, I am using Qt 4.8.2 and OpenCV 2.4.9. My operating system is an Ubuntu: Linux xx 3.13.0-36-generic #63-Ubuntu x86_64 GNU/Linux.

    I would like to know the output argument that Qt Creator is generating for launching the program to reproduce it on the terminal.

    Thanks in advance.

  • SOLVED: It was the system environment. I did an script before calling myProgram from the terminal where I exported the LD_LIBRARY_PATH and PATH.

Log in to reply