| Trolltech Home | Qt4-preview-feedback Home | Recent Threads | All Threads | Author | Date | |
| All threads index page 1 | |
Hi, I've just installed the Qt Eclipse plugin release candidate (for C++, not Qt Jambi) and I can't figure out what path I should put in the Qt preferences. Qt4 files are found in /usr/share/qt4, /usr/lib/qt4, and /usr/include/qt4, but putting in any of those causes an error when I close the preferences window. Can anyone help? Thanks, Colin Kern To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
Dear Colin, Someone else reported the same error, and there have been no replies that I have seen addressing it. I have the same problem at times, but not all the time. Did Eclipse record the Qt path you entered? It does on my system, even though there are sometimes errors (which means they are coming from somewhere else). Anyhow, what you put in in the preferences tab is /usr/share/qt4 Apparently Eclipse-Qt can figure out the include and lib paths. I am running Eclipse Europa CDT, Qt-4.2.3, and Eclipse-Integration 1.0.0(gcc 3.3) under ubuntu Feisty Fawn. It doesn't work at all well. Eclipse-Qt can't find QtDesigner, and doesn't make needed .moc files, and doesn't build debug versions of the project. I can't even get past the 3rd step of the tutorial (AddressBook). Being a recent convert to Linux from Windows (starting with Windows 1.0), this is enough to send me back to Windows, and that seems unusually cruell. Sorry I couldn't help more. Cheers, Phil Baker On 8/18/07, Colin Kern <Colin.Kern@xxxxxxxxx> wrote: > > Hi, > > I've just installed the Qt Eclipse plugin release candidate (for C++, > not Qt Jambi) and I can't figure out what path I should put in the Qt > preferences. Qt4 files are found in /usr/share/qt4, /usr/lib/qt4, and > /usr/include/qt4, but putting in any of those causes an error when I > close the preferences window. Can anyone help? > > Thanks, > Colin Kern > > To unsubscribe - send "unsubscribe" in the subject to > qt4-preview-feedback-request@xxxxxxxxxxxxx > >
Hi, we currently don't really support using a Qt version that come with your Linux distribution. If you set the Qt directory in the Eclipse Integration to your /usr directory (if your qmake executable resides in /usr/bin), then you will be able to build Qt applications with your distribution-supplied Qt version. The code completion etc will not work though (without changing the appropriate Eclipse/CDT settings manually). If you want everything to work, you currently need to separately download and build the Qt OpenSource Edition from http:// trolltech.com/developer/downloads/qt/x11 . Then set the Qt path in the Qt Eclipse Integration to the source path of your Qt build. Sorry for the inconvenience. Best regards, Eike On Aug 18, 2007, at 9:07 PM, Colin Kern wrote: > Hi, > > I've just installed the Qt Eclipse plugin release candidate (for C++, > not Qt Jambi) and I can't figure out what path I should put in the Qt > preferences. Qt4 files are found in /usr/share/qt4, /usr/lib/qt4, and > /usr/include/qt4, but putting in any of those causes an error when I > close the preferences window. Can anyone help? > > Thanks, > Colin Kern > > To unsubscribe - send "unsubscribe" in the subject to qt4-preview- > feedback-request@xxxxxxxxxxxxx > To unsubscribe - send "unsubscribe" in the subject to qt4-preview-feedback-request@xxxxxxxxxxxxx
You could do what Ubuntu does: create a /usr/share/qt4 directory that looks
like this:
/usr/share/qt4
bin/
designer -> /usr/bin/designer-qt4
lrelease -> /usr/bin/lrelease-qt4
lupdate -> /usr/bin/lupdate-qt4
moc -> /usr/bin/moc-qt4
qmake -> /usr/bin/qmake-qt4
rcc -> /usr/bin/rcc
uic -> /usr/bin/uic-qt4
include/ -> /usr/include/qt4
plugins/ -> /usr/lib/qt4/plugins
etc.
#!/jon
On August 18, 2007, Colin Kern wrote:
> Hi,
>
> I've just installed the Qt Eclipse plugin release candidate (for C++,
> not Qt Jambi) and I can't figure out what path I should put in the Qt
> preferences. Qt4 files are found in /usr/share/qt4, /usr/lib/qt4, and
> /usr/include/qt4, but putting in any of those causes an error when I
> close the preferences window. Can anyone help?
>
> Thanks,
> Colin Kern
>
> To unsubscribe - send "unsubscribe" in the subject to
> qt4-preview-feedback-request@xxxxxxxxxxxxx
--
[ signature omitted ]
Attachment:
signature.asc
Description: This is a digitally signed message part.