Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, December 2006
problems compiling qvfb


Message 1 in thread

Hi list!

I have a strange problem compiling qvfb.
I want to develop an application with qt and qtopia, as it also has to run 
on an embedded system board.

I downloaded qt 4.2.2 and qtopia 4.2.2. I installed as usual
./configure --prefix=/usr/local/Trolltech/QtopiaCore-4.2.2-x86 
-debug-and-release -no-qt3support -pch -qvfb
make
su
make install

But I have no qvfb - binary. I did an updatedb and locate and could not 
find it in my install-directories. I only found some files in 
doc-directories
I can compile my application both with qt and qtopia, but I can not use 
qvfb., which makes it hard tu test applications on my developement system.

What did I do wrong?

I am running gentoo linux with kde 3.5, kernel 2.6.18 and gcc 4.1.1.

Thanks for any hints in advance!

Bye,
Andy

Message 2 in thread

Hi, Andy,

Just because qvfb is an x11 application, now it's only in the qt x11
package. You can find it in qt-x11-4.2.2 package. Good luck!

Regards,
Cavendish

On 13/12/06, andreas.sumper@xxxxxxxxxxxx <andreas.sumper@xxxxxxxxxxxx> wrote:
>
> Hi list!
>
> I have a strange problem compiling qvfb.
> I want to develop an application with qt and qtopia, as it also has to run
> on an embedded system board.
>
> I downloaded qt 4.2.2 and qtopia 4.2.2. I installed as usual
> ./configure
> --prefix=/usr/local/Trolltech/QtopiaCore-4.2.2-x86
> -debug-and-release -no-qt3support -pch -qvfb
> make
> su
> make install
>
> But I have no qvfb - binary. I did an updatedb and locate and could not find
> it in my install-directories. I only found some files in doc-directories
> I can compile my application both with qt and qtopia, but I can not use
> qvfb., which makes it hard tu test applications on my developement system.
>
> What did I do wrong?
>
> I am running gentoo linux with kde 3.5, kernel 2.6.18 and gcc 4.1.1.
>
> Thanks for any hints in advance!
>
> Bye,
> Andy

-- 
 [ signature omitted ] 

Message 3 in thread

Hi Cavendish!


"Cavendish Qi" <cavendish.qi@xxxxxxxxx> wrote on 13.12.2006 09:26:22:

> Hi, Andy,
> 
> Just because qvfb is an x11 application, now it's only in the qt x11
> package. You can find it in qt-x11-4.2.2 package. Good luck!

So let me get this straight:
I have to compile my application with qtopia and run qvfb from qt. After 
that, I can start my app with -qws and it will connect to my virtual 
framebuffer? Please correct me, if I am wrong.

Thanks for the hint!

Bye,
Andy

 
> Regards,
> Cavendish
> 
> On 13/12/06, andreas.sumper@xxxxxxxxxxxx <andreas.sumper@xxxxxxxxxxxx> 
wrote:
> >
> > Hi list!
> >
> > I have a strange problem compiling qvfb.
> > I want to develop an application with qt and qtopia, as it also has to 
run
> > on an embedded system board.
> >
> > I downloaded qt 4.2.2 and qtopia 4.2.2. I installed as usual
> > ./configure
> > --prefix=/usr/local/Trolltech/QtopiaCore-4.2.2-x86
> > -debug-and-release -no-qt3support -pch -qvfb
> > make
> > su
> > make install
> >
> > But I have no qvfb - binary. I did an updatedb and locate and could 
not find
> > it in my install-directories. I only found some files in 
doc-directories
> > I can compile my application both with qt and qtopia, but I can not 
use
> > qvfb., which makes it hard tu test applications on my developement 
system.
> >
> > What did I do wrong?
> >
> > I am running gentoo linux with kde 3.5, kernel 2.6.18 and gcc 4.1.1.
> >
> > Thanks for any hints in advance!
> >
> > Bye,
> > Andy
> 
> -- 
> http://www.qiliang.net
> http://www.qtopia.org.cn
> http://cavendishqi.blogspot.com

Message 4 in thread

andreas.sumper@xxxxxxxxxxxx wrote:

> "Cavendish Qi" <cavendish.qi@xxxxxxxxx> wrote on 13.12.2006 09:26:22:

>> Just because qvfb is an x11 application, now it's only in the qt x11
>> package. You can find it in qt-x11-4.2.2 package. Good luck!
> 
> So let me get this straight:
> I have to compile my application with qtopia and run qvfb from qt. After
> that, I can start my app with -qws and it will connect to my virtual
> framebuffer? Please correct me, if I am wrong.

That's more or less correct, though you probably don't want to be running
your application with the -qws option unless you want it to be the server
application. You probably want to follow the instructions in this document:

http://doc.trolltech.com/qtopia4.1/running-qtopia.html#running-qtopia-on-the-desktop-machine

Take a look at these two documents for more information about running
applications and environments in QVFb:

http://doc.trolltech.com/4.2/qtopiacore-qvfb.html
http://doc.trolltech.com/4.2/qtopiacore-running.html

There's also a dedicated mailing list for Qtopia questions:

http://lists.trolltech.com/qtopia-interest/

You might find that people's answers on that list are a little less vague
than mine. ;-)

-- 
 [ signature omitted ] 

Message 5 in thread

thanks for the links!

I was looking for something like that!

Bye,
Andy

David Boddie <dboddie@xxxxxxxxxxxxx> wrote on 13.12.2006 12:33:07:

> andreas.sumper@xxxxxxxxxxxx wrote:
> 
> > "Cavendish Qi" <cavendish.qi@xxxxxxxxx> wrote on 13.12.2006 09:26:22:
> 
> >> Just because qvfb is an x11 application, now it's only in the qt x11
> >> package. You can find it in qt-x11-4.2.2 package. Good luck!
> > 
> > So let me get this straight:
> > I have to compile my application with qtopia and run qvfb from qt. 
After
> > that, I can start my app with -qws and it will connect to my virtual
> > framebuffer? Please correct me, if I am wrong.
> 
> That's more or less correct, though you probably don't want to be 
running
> your application with the -qws option unless you want it to be the 
server
> application. You probably want to follow the instructions in this 
document:
> 
> http://doc.trolltech.com/qtopia4.1/running-qtopia.html#running-
> qtopia-on-the-desktop-machine
> 
> Take a look at these two documents for more information about running
> applications and environments in QVFb:
> 
> http://doc.trolltech.com/4.2/qtopiacore-qvfb.html
> http://doc.trolltech.com/4.2/qtopiacore-running.html
> 
> There's also a dedicated mailing list for Qtopia questions:
> 
> http://lists.trolltech.com/qtopia-interest/
> 
> You might find that people's answers on that list are a little less 
vague
> than mine. ;-)
> 
> -- 
> David Boddie
> Technical Writer, Trolltech ASA
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx 
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 

Message 6 in thread

Hi Cavendish!

I just reinstalled Qt x11 4.2.2. I configured with -qvfb, but still no 
qvfb or tools-folder. I guess I have to change something during configure?

Bye,
Andy

"Cavendish Qi" <cavendish.qi@xxxxxxxxx> wrote on 13.12.2006 09:26:22:

> Hi, Andy,
> 
> Just because qvfb is an x11 application, now it's only in the qt x11
> package. You can find it in qt-x11-4.2.2 package. Good luck!
> 
> Regards,
> Cavendish
> 
> On 13/12/06, andreas.sumper@xxxxxxxxxxxx <andreas.sumper@xxxxxxxxxxxx> 
wrote:
> >
> > Hi list!
> >
> > I have a strange problem compiling qvfb.
> > I want to develop an application with qt and qtopia, as it also has to 
run
> > on an embedded system board.
> >
> > I downloaded qt 4.2.2 and qtopia 4.2.2. I installed as usual
> > ./configure
> > --prefix=/usr/local/Trolltech/QtopiaCore-4.2.2-x86
> > -debug-and-release -no-qt3support -pch -qvfb
> > make
> > su
> > make install
> >
> > But I have no qvfb - binary. I did an updatedb and locate and could 
not find
> > it in my install-directories. I only found some files in 
doc-directories
> > I can compile my application both with qt and qtopia, but I can not 
use
> > qvfb., which makes it hard tu test applications on my developement 
system.
> >
> > What did I do wrong?
> >
> > I am running gentoo linux with kde 3.5, kernel 2.6.18 and gcc 4.1.1.
> >
> > Thanks for any hints in advance!
> >
> > Bye,
> > Andy
> 
> -- 
> http://www.qiliang.net
> http://www.qtopia.org.cn
> http://cavendishqi.blogspot.com
> 
> --
> To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx 
> with "unsubscribe" in the subject or the body.
> List archive and information: http://lists.trolltech.com/qt-interest/
> 

Message 7 in thread

Hi, Andy,

http://doc.trolltech.com/4.2/qtopiacore-qvfb.html

Then compile and run the qvfb tool as a normal Qt/X11 application
(i.e. do not compile it as a Qtopia Core application):

 cd path/to/Qt/tools/qvfb
 make
 ./qvfb

Regards,
Cavendish

On 13/12/06, andreas.sumper@xxxxxxxxxxxx <andreas.sumper@xxxxxxxxxxxx> wrote:
>
> Hi Cavendish!
>
> I just reinstalled Qt x11 4.2.2. I configured with -qvfb, but still no qvfb
> or tools-folder. I guess I have to change something during configure?
>
> Bye,
> Andy

-- 
 [ signature omitted ]