I got the same problem - examples or any other QT application does not build for GCCE or ARMV5. For emulator (WINSCW) it builds and runs examples and own QT applications fine from Carbide and command prompt. I followed instructions from http://pepper.troll.no/s60prerelease...stall-s60.html.
I am using Carbide 2.0, 5th edition SDK and QT 4.5.0-garden.
Building for GCCE outputs following warnings every time its invoking abld perl script during build:
The actual error occurs during target build when invoking perl.exe -S ABLD.PL \Carbide_workspace\main_window\ target gcce urel. It cannot find main.o and other object files during the script:
process_begin: CreateProcess((null), arm-none-symbianelf-g++ -dumpversion, ...) failed.
process_begin: CreateProcess((null), arm-none-symbianelf-g++ -print-libgcc-file-name, ...) failed.
process_begin: CreateProcess((null), arm-none-symbianelf-g++ -print-file-name=libsupc++.a, ...) failed.
Same thing hapens with gcce udeb build.
[S60\devices\S60_5th_Edition_SDK_v1.0\EPOC32\BUILD\Carbide_workspace\main_window\MAIN_WINDOW_0xE9741F35\GCCE\urel\main.o] Error 2
Also ARMV5 builds fail to same problems. It cannot find main.o and other object files.