From: Emanuel R. <xb...@gm...> - 2009-01-10 22:31:39
|
Thank you for the hint. Cmake should link it now, after data.cpp has been created manually. 2009/1/9 D. Michael McIntyre <ros...@gm...>: > Chris said, "...the CMake build hasn't been updated to build in > the resource file yet. It needs to do "rcc data/data.qrc > > data.data.cpp", then build data.cpp to data.o and link that into the > executable. qt4-makefile does this, but if it doesn't link..." > > I spent a good while trying to puzzle all of this out, and I don't have much > more of a clue now than when I started. There are examples out there for > adding the RCC bits to a CMake-based Qt4 project, but the surrounding context > is completely different, and I don't really understand how to translate any > of it. I've never been any good at build systems anyway. > > I'd just as soon use the damn qt4-makefile for now, but I can't figure out why > it won't link, and since the real build system actually does link, we might > as well get this out of the way. > > Any takers? > -- > D. Michael McIntyre > |