On Mon, Jul 21, 2008 at 4:44 PM, rgheck <[EMAIL PROTECTED]> wrote:

> Bennett Helm wrote:
>
>> On Mon, Jul 21, 2008 at 2:43 PM, rgheck <[EMAIL PROTECTED]> wrote:
>>
>>
>>
>>> This time with the attachment.
>>>
>>>  Does not work for me on Mac with Qt-4.4.0. (I only checked bibliography
>>>
>>>
>>>> updating.)
>>>>
>>>>  OK. The bug exists on Mac, too. See if you can verify that with the
>>>>
>>>>
>>> attached program. Compile via
>>>  g++ -o test test.cpp -Wall -I /usr/include/QtCore/ -L /usr/lib64
>>> -lQtCore
>>> adjusting for your library locations as necessary. You'll probably also
>>> need to adjust the file location from /cvs/testfile. Start the program,
>>> then run:
>>>  touch /tmp/testfile
>>>
>>> or whatever and see if you get any output.
>>>
>>>
>>>
>>
>> I don't think I have lib64 on my system, but I assume that doesn't matter
>> (right?).
>>
>> I'm not setting things up right. I run:
>>
>> g++ -o test test.cpp -Wall -I
>> /Users/bennett/lyx/qt-4.4-install/include/QtCore/ -L /usr/lib64 -lQtCore
>>
>> and get many instances of:
>>
>> In file included from
>> /Users/bennett/lyx/qt-4.4-install/include/QtCore/QDateTime:1,
>>                 from test.cpp:1:
>> /Users/bennett/lyx/qt-4.4-install/include/QtCore/qdatetime.h:47:28: error:
>> QtCore/qstring.h: No such file or directory
>> /Users/bennett/lyx/qt-4.4-install/include/QtCore/qdatetime.h:48:31: error:
>> QtCore/qnamespace.h: No such file or directory
>>
>> (That is the right directory for QtCore.) I even tried setting QT4DIR
>> explicitly, but that didn't affect it.
>>
>>
>>
> Maybe drop the QtCore bit. And you may need to set -L to /usr/lib, or
> whatever. Wherever libQt* lives.


I have Qt 4.4 installed at ~/lyx/qt-4.4-install/, and I point QTDIR and
QT4DIR there, I try setting explicitly the paths in the -I, -L, and -l
options, and I still can't get g++ to recognize these files' locations. I'm
lost.

Bennett

Reply via email to