Sunday, July 20th 2008, 2:33am UTC+1

You are not logged in.

  • Login
  • Register

ivme

Beginner

1

Tuesday, March 11th 2008, 7:59pm

Linux/Win32 qmake error

Hi,

I'm currently using qt-4.2.1 with gcc 4.1.2.
I've developped an application which is working fine with centOS 5.
I would like to make it working on a windows vista station.

From my linux station, I typed as usual

> qmake -project

which generated the .pro file
then instead of simply typing

> qmake

I used

> qmake -win32

This way I thought that I will get a Makefile to build my Window application...but I get a very long list of warning, like :

WARNING: Failure to find: src\appl\v2c_gui\v2c_gui.cpp
WARNING: Failure to find: src\cub\Brick\brick.cpp
WARNING: Failure to find: src\cub\Buffer\buffer.cpp
[...]

So do you have any idea why this is not working in win32 mode but work in linux mode?
Do I need to edit the .pro file to give full pathname?
Do I need to edit my .h files to give full pathname for the include : (ie #include "brick.h" -> #include "../../obj/Brick/brick.h" ?

Thanks,
  • Go to the top of the page

2

Saturday, May 3rd 2008, 2:37am

RE: Linux/Win32 qmake error

for win32 it is looking for a \ switch instead of a / switch which will kill the build on linux. do the build on win32 and it should work besides you can set the warnings to 0 and forget about if you wish
  • Go to the top of the page

Rate this thread