Re: [Lprof-devel] Lprof QT4 Mac build
Brought to you by:
hvengel
|
From: Mark <mar...@go...> - 2008-01-22 22:38:57
|
>>> Where are the help files located? Are they being installed
>>> correctly?
>>
>> I compared the old (qt3) and new (qt4) Lprof. The folder structures
>> are the same and all files are where they belong:
>>
>> lprof.app/MacOS
>> assistant.app
>> lprof (the actual binary)
>> data (folder)
>> help (folder, with 2 sub folders en, ru, html and other files
>> inside)
>
> OK this should work then. So I don't know why this is happening.
>
> This code is located in src/lprofqt/config.cpp setupHelp(..). And
> the section
> where we try to find the help files starts with:
>
> if (help) delete help;
> help = new QAssistantClient(execpath); // so that help calls ...
> if (found)
> {
> // code of interest is located here
> }
>
> You need to check the value of path after the first set of if else
> if else
> statements in this block to see if it is pointing to the correct
> location.
> If it is not then we need to figure out why. But first find out
> what value
> it has. It should point to the lprof.app/MacOS/data/help/en
> directory in
> your case. There are already commented out qDebug statements to
> look at
> this.
I was able to find the problem in src/lprofqt/main.cpp :
set_Current_Dir()
I have no clue why this was working on the QT3 lprof but broke on the
new one. Anyway, seems to be running now. As a side effect I now see
lprof localized in german and also the error message about icoms is
gone.
It's in CVS.
> No the spyder firmware belongs in the same directory as lprof not in
> the data
> directory. There is a GUI now in LProf that will pop up when going
> to the
> calibration and measurement wizard that will allow you to install the
> firmware if it is not found. This should install it in the correct
> location
> assuming you have write access to the installation directory. I
> just tested
> this on linux with the Qt4-port branch and it worked.
My fault, you are off correct - it's in the same dir as the lprof
binary.
I see some of the minor items I wrote earlier are fixed. When I have
more time I will re-test all.
|