Looking for QtGui/QPlainTextEdit
I am compiling a new version of a music notation program which uses Qt4 and
QtGui. "make" complains that it can't find QPlainTextEdit. From what I
can discover, it is a part of Qt4, and possibly in the QtGui packages, but
I can't find on my system or in the Mandriva repositories. The build
system uses cmake, and a Makefile is provided.
Any help appreciated.
TIA,
Doug.
Re: Looking for QtGui/QPlainTextEdit
On Monday 22 September 2008 06:38, someone identifying as *Doug Laidlaw*
wrote in /alt.os.linux.mandriva:/
[color=blue]
> I am compiling a new version of a music notation program which uses Qt4
> and
> QtGui. "make" complains that it can't find QPlainTextEdit. From what I
> can discover, it is a part of Qt4, and possibly in the QtGui packages, but
> I can't find on my system or in the Mandriva repositories. The build
> system uses cmake, and a Makefile is provided.
>
> Any help appreciated.[/color]
Just a wild guess, but did you try setting the /QT=/ or /QT4=/ variables to
the proper directory before issuing the /make?/ Some Qt programs are
sensitive to that and won't build properly unless the variables are set.
Like I said, just a wild guess, though... ;-)
--
*Aragorn*
(registered GNU/Linux user #223157)
Re: Looking for QtGui/QPlainTextEdit
On Monday 22 September 2008 08:01, someone identifying as *Aragorn* wrote
in /alt.os.linux.mandriva:/
[color=blue]
> On Monday 22 September 2008 06:38, someone identifying as *Doug Laidlaw*
> wrote in /alt.os.linux.mandriva:/
>[color=green]
>> I am compiling a new version of a music notation program which uses Qt4
>> and QtGui. "make" complains that it can't find QPlainTextEdit. From
>> what I can discover, it is a part of Qt4, and possibly in the QtGui
>> packages, but I can't find on my system or in the Mandriva repositories.
>> The build system uses cmake, and a Makefile is provided.
>>
>> Any help appreciated.[/color]
>
> Just a wild guess, but did you try setting the /QT=/ or /QT4=/ variables
> to the proper directory before issuing the /make?/ Some Qt programs are
> sensitive to that and won't build properly unless the variables are set.
>
> Like I said, just a wild guess, though... ;-)[/color]
Addendum: it could be that you may need to set /QTDIR,/ /QT4DIR,/ /QT4HOME/
or something of the likes... Normally the /README/ should have the proper
information. ;-)
--
*Aragorn*
(registered GNU/Linux user #223157)
Re: Looking for QtGui/QPlainTextEdit
Aragorn wrote:
[color=blue]
> On Monday 22 September 2008 08:01, someone identifying as *Aragorn* wrote
> in /alt.os.linux.mandriva:/
>[color=green]
>> On Monday 22 September 2008 06:38, someone identifying as *Doug Laidlaw*
>> wrote in /alt.os.linux.mandriva:/
>>[color=darkred]
>>> I am compiling a new version of a music notation program which uses Qt4
>>> and QtGui. "make" complains that it can't find QPlainTextEdit. From
>>> what I can discover, it is a part of Qt4, and possibly in the QtGui
>>> packages, but I can't find on my system or in the Mandriva repositories.
>>> The build system uses cmake, and a Makefile is provided.
>>>
>>> Any help appreciated.[/color]
>>
>> Just a wild guess, but did you try setting the /QT=/ or /QT4=/ variables
>> to the proper directory before issuing the /make?/ Some Qt programs are
>> sensitive to that and won't build properly unless the variables are set.
>>
>> Like I said, just a wild guess, though... ;-)[/color]
>
> Addendum: it could be that you may need to set /QTDIR,/ /QT4DIR,/
> /QT4HOME/
> or something of the likes... Normally the /README/ should have the proper
> information. ;-)
>[/color]
Thanks, but the file isn't installed. It isn't in the RPM file lists or on
my computer.
The previous release compiled O.K., sounds like an approach to the developer
is required.
Doug.
Re: Looking for QtGui/QPlainTextEdit
On Mon, 22 Sep 2008 00:38:37 -0400, Doug Laidlaw <doug@dougshost.invalid> wrote:
[color=blue]
> I am compiling a new version of a music notation program which uses Qt4 and
> QtGui. "make" complains that it can't find QPlainTextEdit. From what I
> can discover, it is a part of Qt4, and possibly in the QtGui packages, but
> I can't find on my system or in the Mandriva repositories. The build[/color]
Have you installed the qt4 devel rpms?
libavahi-qt4-devel
libpoppler-qt4-devel
libqscintilla-qt4-devel
libqt4-devel
libqt4-static-devel
lsb-build-qt4-devel
python-qt4-devel
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)
Re: Looking for QtGui/QPlainTextEdit
Doug Laidlaw wrote:[color=blue]
> Aragorn wrote:
>[color=green]
>> On Monday 22 September 2008 08:01, someone identifying as *Aragorn* wrote
>> in /alt.os.linux.mandriva:/
>>[color=darkred]
>>> On Monday 22 September 2008 06:38, someone identifying as *Doug Laidlaw*
>>> wrote in /alt.os.linux.mandriva:/
>>>
>>>> I am compiling a new version of a music notation program which uses Qt4
>>>> and QtGui. "make" complains that it can't find QPlainTextEdit. From
>>>> what I can discover, it is a part of Qt4, and possibly in the QtGui
>>>> packages, but I can't find on my system or in the Mandriva repositories.
>>>> The build system uses cmake, and a Makefile is provided.
>>>>
>>>> Any help appreciated.
>>> Just a wild guess, but did you try setting the /QT=/ or /QT4=/ variables
>>> to the proper directory before issuing the /make?/ Some Qt programs are
>>> sensitive to that and won't build properly unless the variables are set.
>>>
>>> Like I said, just a wild guess, though... ;-)[/color]
>> Addendum: it could be that you may need to set /QTDIR,/ /QT4DIR,/
>> /QT4HOME/
>> or something of the likes... Normally the /README/ should have the proper
>> information. ;-)
>>[/color]
> Thanks, but the file isn't installed. It isn't in the RPM file lists or on
> my computer.[/color]
The name QPlainTextEdit looks like a variable name rather than a
filename. Go to the bins containing the QT and QT4 libraries and
run
grep QPlainTextEdit *
See what you get, if anything.
Cheers!
jim b.
--
UNIX is not user unfriendly; it merely
expects users to be computer-friendly.
Re: Looking for QtGui/QPlainTextEdit
David W. Hodgins wrote:
[color=blue]
> On Mon, 22 Sep 2008 00:38:37 -0400, Doug Laidlaw <doug@dougshost.invalid>
> wrote:
>[color=green]
>> I am compiling a new version of a music notation program which uses Qt4
>> and
>> QtGui. "make" complains that it can't find QPlainTextEdit. From what I
>> can discover, it is a part of Qt4, and possibly in the QtGui packages,
>> but
>> I can't find on my system or in the Mandriva repositories. The build[/color]
>
> Have you installed the qt4 devel rpms?
>
> libavahi-qt4-devel
> libpoppler-qt4-devel
> libqscintilla-qt4-devel
> libqt4-devel
> libqt4-static-devel
> lsb-build-qt4-devel
> python-qt4-devel
>
> Regards, Dave Hodgins
>[/color]
Installed libqt4-devel, libsip and libsip-devel. python-qt4-devel was
missing, but it conflicts with sip, which is listed in the README as a
dependency. python-qt4-devel's file listing does not contain the file I am
looking for. The others seem to be for particular circumstances, but from
recollection, some were dependencies of what I did install.
The README warned me to install all -devel packages, and I knew that anyway.
Something has changed in the current release of the program, so I suppose
that I need to go back to its mailing list. The only reason why I posted
here first, is that QPlainTextEdit got so many mentions on the Web,
including an .so file, that it seems to be a fairly basic library.
Doug.
Re: Looking for QtGui/QPlainTextEdit
On Mon, 22 Sep 2008 21:34:01 -0400, Doug Laidlaw <doug@dougshost.invalid> wrote:
[color=blue]
> that I need to go back to its mailing list. The only reason why I posted
> here first, is that QPlainTextEdit got so many mentions on the Web,
> including an .so file, that it seems to be a fairly basic library.[/color]
While /usr/lib/qt4/include/Qt/qplaintextedit.h does not exist in the current 2008.1
version, libqt4-devel-4.3.4-6, it is found in the
[url]http://rpm.pbone.net/index.php3/stat/4/idpl/8303599/com/libqt4-devel-4.4.0-19mdv2008.1.i586.rpm.html#content[/url]
I wouldn't be surprised if installing the newer version on 2008.1, requires
updating all of the qt libraries from the kde repositories. First time I've
found out that kde maintains it's own repositories, and has newer versions
of packages specifically for versions of Mandriva.
Regards, Dave Hodgins
--
Change nomail.afraid.org to ody.ca to reply by email.
(nomail.afraid.org has been set up specifically for
use in usenet. Feel free to use it yourself.)