Unsolved Is there any way to recognize qmake as a symbolic link?
-
Hi!
My OS is centOS7
My Qt version 5.14.2, 4.8.7When I try to create a makefile by trying a qmake command, the include path is created as a real directory path, not a symbolic link name.
example)
Directory name : system_1.0.1
Symbolic link name : system -> system_1.0.1in Makefile)
moc_*.cpp: system_1.0.1/~~~~~~I want: moc_*.cpp: system/~~~~~~
I'd appreciate it if you could help me.
-
Hi,
How exactly are you calling qmake ?
From where ?
Which version of qmake ? -
-
@SGaist
I call qmake once in my project directory to create Makefile.
The qmake version
qt 4.8.7: qmake version 2.1a
qt 5.14.2: qmake version 3.1 -
@keyboard_hellchang Which Qt version do you want to use? You should call qmake using absolute path to make sure you call qmake from Qt which you want to use.
-
@jsulm
I'm using qmake to fit the qt version.
qt4 -> qmake-qt4.
qt5 -> qmake-qt5. -
We are asking you the exact Qt version you are using.
-
@SGaist
I use qt4.8.7.
qmake version is 2.1a