Results 1 to 4 of 4

Thread: how to install

  1. #1
    Join Date
    Mar 2010
    Posts
    25
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default how to install

    Dear all,

    Hello, I am QT Newbie.

    I have download the following link in order to install the QT on CentOS 5.4 as embedded linux.

    http://qt.nokia.com/downloads/embedded-linux-cpp


    I have install it according to following link:
    http://doc.qt.nokia.com/4.6/qt-embedded-install.html

    Anyway I have encounter problem when I try to install Virtual Framebuffer
    http://doc.qt.nokia.com/4.6/qvfb.html

    The instruction direct me
    cd path/to/QtEmbedded
    ./configure -qvfb
    make

    But where is 'path/to'?

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

    I have access to /usr/src/QT/qt-everywhere-opensource-src-4.6.1/tools/qvfb
    try to 'make', it return me
    qvfbshmem.cpp:65:2: error: #error qvfb must be compiled with the Qt for X11 package
    make: *** [.obj/release-shared-emb-x86/qvfbshmem.o] Error 1

    When I try to ./qvfb.cpp, it return me
    ./qvfb.cpp: line 1: /bin: is a directory
    ./qvfb.cpp: line 2: ~: command not found
    ./qvfb.cpp: line 3: syntax error near unexpected token `('
    ./qvfb.cpp: line 3: `** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies).'

    What should I do in order to install the Virtual Framebuffer?

    Thanks and regards
    Shi hao

  2. #2
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install

    But where is 'path/to'?
    this just means that you have to run the 'configure' script from /<this path depends on where you installed it>/Qt/tools folder.
    I'm not that familiar with the embedded versions, but try to find where the 'configure' script is located.

    Also according to documentation, you need to add 'embedded' to the configure command.

  3. #3
    Join Date
    Mar 2010
    Posts
    25
    Thanks
    4
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: how to install

    hi schnitzel,

    Thanks for the reply. I have been doing this about 3 weeks, anyone who know please help. Really appreciate.

    Now, I try to compile c++ program, but seems that every program that I have compile it return me error message:
    ./hello.cpp: line 3: syntax error near unexpected token `('
    ./hello.cpp: line 3: `int main(int argc, char *argv[])'

    what's going on?

    I am using CentOS GNOME 5.4 as my OS, I dunno whether qt for embedded linux is the correct package or not?

    Dear schnitzel,

    Maybe you can direct me in the package that you familiar? Maybe X11 or something, at leaset I can do something works.

    Thanks and regards
    Shi Hao

  4. #4
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install

    Shi Hao,
    If you just want something that works on CentOS, then you should install Qt for linux/X11.
    good luck

Similar Threads

  1. qwt 5.2 install on qt 4.5
    By HyperB in forum Qwt
    Replies: 4
    Last Post: 13th May 2009, 20:03
  2. I am Not able to install QSA in Qt4.4.3.
    By c_srikanth1984 in forum Installation and Deployment
    Replies: 4
    Last Post: 6th May 2009, 10:49
  3. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38
  4. "make install" doesn't install binary
    By jiveaxe in forum Newbie
    Replies: 2
    Last Post: 2nd January 2008, 12:00
  5. qt 4.2.2 install on aix
    By try to remember in forum Installation and Deployment
    Replies: 2
    Last Post: 28th March 2007, 12:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.