Re: [chessx-developer] Compiling on Mac OS X
Chess Database and PGN viewer
Brought to you by:
hognose
From: Michal R. <mr...@kd...> - 2009-07-12 08:46:24
|
Heinz R. Hopfgartner, niedziela, 12 lipca 2009: >Hi, > >when compiling on OSX (10.5.7; should also work on previous versions) >follow this steps: > >A) run qmake in the directories > ./src/database --> creates database.xcodeproj > ./src/guess --> creates guess.xcodeproj > ./src/gui --> creates chessx.xcodeproj I guess qmake -recursive will do the trick faster. >B) In Xcode open the projects database.xcodeproj, guess.xcodeproj > --> for the project info check the setting for Cross-developement > Using Target SDK; this setting is not correctly set by qmake; use > whatever you want, but it must not be empty. This has to be done for > all projects which are setup with qmake Any idea how to set it by qmake? >C) Build database.xcodeproj and guess.xcodeproj (with debug setting - >release gets an error related to ressources) Can you post this error, please? >D) Open the chessx.xcodeproj and set the SDK (described above= > Build the chessx.xcodeproj (with debug setting - >release gets an error related to ressources) Same as above >This creates the chessX application. >One problem with the build - the themes are not correctly loaded, >and therfore no board is shown - I haven´t investigated the issue, but >it has something to do with the location of the ressources for the >chessx application. I guess there is a problem with paths, but I have no idea how to set those for Mac. Anybody? -- Michal Rudolf |