Qt-interest Archive, February 2007
Problems in windows with path definitions
Message 1 in thread
I am developing an application that uses different paths to build, as you can
see in [0], lines [131 134].
When compiling in Linux, I have no problem. When doing it in Windows, I have
to comment those parts or it will not compile.
Furthermore, lines [122 126] had to be configured in unix {} because of the
same problems.
I have searched trough qmake's doc but I think I am missing the right point.
Anyone can point me what do I have to read?
Regards, Lisandro.
[0]
http://qantenna.svn.sourceforge.net/viewvc/qantenna/src/src.pro?view=markup
--
[ signature omitted ]
Message 2 in thread
Am 27.02.2007, 22:43 Uhr, schrieb Lisandro Damián Nicanor Pérez Meyer
<perezmeyer@xxxxxxxxx>:
> I am developing an application that uses different paths to build, as
> you can
> see in [0], lines [131 134].
> When compiling in Linux, I have no problem. When doing it in Windows, I
> have
> to comment those parts or it will not compile.
>
We have the following in our central pro-file:
MOC_DIR = .moc
### CLUTCH Somehow moc.prf gets loaded before psol.prf
moc_header.output =
$$MOC_DIR/$${QMAKE_H_MOD_MOC}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_CPP)}
RCC_DIR = .rcc
UI_DIR = .uic
Maybe it will work for you, too.
--
[ signature omitted ]
Message 3 in thread
Lisandro Damián Nicanor Pérez Meyer <perezmeyer@xxxxxxxxx> wrote on
02/27/2007 02:43:08 PM:
# Furthermore, lines [122 126] had to be configured in unix {} because of
the
# same problems.
#
# I have searched trough qmake's doc but I think I am missing the right
point.
# Anyone can point me what do I have to read?
You should be able to use UNIXish slash conventions under Windows in your
qmake files all the time, except for some extremely unusual circumstances
(i.e. the $$system() function). That said, I've never tried using the
INSTALLS feature of qmake under Windows.
But the UI_DIR and MOC_DIR settings should work fine under Windows as well
as UNIX.
--
[ signature omitted ]