sudo apt-get install "^libxcb.*" libx11-xcb-dev libglu1-mesa-dev libxrender-dev libxi-dev


xcb 오류



Do you accept the terms of either license? yes


Creating qmake...

make: Nothing to be done for `first'.

Running configuration tests...


   Configure summary


Build type:    linux-g++ (x86_64, CPU features: mmx sse sse2)

Platform notes:


            - Also available for Linux: linux-kcc linux-icc linux-cxx

        

Build options:

  Configuration .......... accessibility accessibility-atspi-bridge audio-backend avx avx2 c++11 clock-gettime clock-monotonic compile_examples concurrent dbus evdev eventfd freetype full-config getaddrinfo getifaddrs harfbuzz iconv inotify ipv6ifname large-config largefile linuxfb medium-config minimal-config mremap nis opengl pcre png posix_fallocate precompile_header qpa qpa reduce_exports reduce_relocations release rpath shared small-config sse2 sse3 sse4_1 sse4_2 ssse3 use_gold_linker xcb xcb-glx xcb-plugin xcb-render xcb-xlib xinput2 xkbcommon-qt xlib xrender zlib 

  Build parts ............ libs tools examples

  Mode ................... release

  Using C++11 ............ yes

  Using gold linker....... yes

  Using PCH .............. yes

  Target compiler supports:

    SSE2/SSE3/SSSE3 ...... yes/yes/yes

    SSE4.1/SSE4.2 ........ yes/yes

    AVX/AVX2 ............. yes/yes


Qt modules and options:

  Qt D-Bus ............... yes (loading dbus-1 at runtime)

  Qt Concurrent .......... yes

  Qt GUI ................. yes

  Qt Widgets ............. yes

  Large File ............. yes

  QML debugging .......... yes

  Use system proxies ..... no


Support enabled for:

  Accessibility .......... yes

  ALSA ................... no

  CUPS ................... no

  Evdev .................. yes

  FontConfig ............. no

  FreeType ............... yes (bundled copy)

  Glib ................... no

  GTK theme .............. no

  HarfBuzz ............... yes (bundled copy)

  Iconv .................. yes

  ICU .................... no

  Image formats: 

    GIF .................. yes (plugin, using bundled copy)

    JPEG ................. yes (plugin, using bundled copy)

    PNG .................. yes (in QtGui, using bundled copy)

  journald ............... no

  mtdev .................. no

  Networking: 

    getaddrinfo .......... yes

    getifaddrs ........... yes

    IPv6 ifname .......... yes

    OpenSSL .............. no

  NIS .................... yes

  OpenGL / OpenVG: 

    EGL .................. no

    OpenGL ............... desktop

    OpenVG ............... no

  PCRE ................... yes (bundled copy)

  pkg-config ............. yes 

  PulseAudio ............. no

  QPA backends: 

    DirectFB ............. no

    EGLFS ................ no

    KMS .................. no

    LinuxFB .............. yes

    XCB .................. yes (system library)

      EGL on X ........... no

      GLX ................ yes

      MIT-SHM ............ yes

      Xcb-Xlib ........... yes

      Xcursor ............ yes (loaded at runtime)

      Xfixes ............. yes (loaded at runtime)

      Xi ................. no

      Xi2 ................ yes

      Xinerama ........... yes (loaded at runtime)

      Xrandr ............. yes (loaded at runtime)

      Xrender ............ yes

      XKB ................ yes

      XShape ............. yes

      XSync .............. yes

      XVideo ............. yes

  Session management ..... yes

  SQL drivers: 

    DB2 .................. no

    InterBase ............ no

    MySQL ................ no

    OCI .................. no

    ODBC ................. no

    PostgreSQL ........... no

    SQLite 2 ............. no

    SQLite ............... yes (plugin, using bundled copy)

    TDS .................. no

  udev ................... no

  xkbcommon .............. yes (bundled copy, XKB config root: /usr/share/X11/xkb)

  zlib ................... yes (bundled copy)


Info: creating super cache file /home/li/Desktop/qt-everywhere-opensource-src-5.4.2/.qmake.super


Qt is now configured for building. Just run 'make'.

Once everything is built, you must run 'make install'.

Qt will be installed into /opt/Qt


Prior to reconfiguration, make sure you remove any leftovers from

the previous build.

 


ㅇㅇ~~


4.8.6빌드 




install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/flickr/flickr.pro /opt/qt4/demos/declarative/flickr/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/flickr/flickr.qmlproject /opt/qt4/demos/declarative/flickr/

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/calculator/qml/calculator /opt/qt4/demos/declarative/calculator/qml/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake/snake64.png /opt/qt4/demos/declarative/snake/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/photoviewer/photoviewer.pro /opt/qt4/demos/declarative/photoviewer/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/photoviewer/photoviewer.qmlproject /opt/qt4/demos/declarative/photoviewer/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/flickr/flickr.svg /opt/qt4/demos/declarative/flickr/

make[2]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/qtdemo'

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame/samegame64.png /opt/qt4/demos/declarative/samegame/

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/flickr/qml/flickr /opt/qt4/demos/declarative/flickr/qml/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/photoviewer/photoviewer.svg /opt/qt4/demos/declarative/photoviewer/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake/snake80.png /opt/qt4/demos/declarative/snake/

install -m 755 -p "flickr" "/opt/qt4/demos/declarative/flickr/flickr"

strip "/opt/qt4/demos/declarative/flickr/flickr"

install -m 755 -p "photoviewer" "/opt/qt4/demos/declarative/photoviewer/photoviewer"

strip "/opt/qt4/demos/declarative/photoviewer/photoviewer"

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake/qml/snake /opt/qt4/demos/declarative/snake/qml/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake/snake.pro /opt/qt4/demos/declarative/snake/

install -m 755 -p "snake" "/opt/qt4/demos/declarative/snake/snake"

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake/snake.qmlproject /opt/qt4/demos/declarative/snake/

strip "/opt/qt4/demos/declarative/snake/snake"

cd rssnews/ && make -f Makefile install

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame/samegame80.png /opt/qt4/demos/declarative/samegame/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake/snake.svg /opt/qt4/demos/declarative/snake/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame/samegame.pro /opt/qt4/demos/declarative/samegame/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame/samegame.qmlproject /opt/qt4/demos/declarative/samegame/

install -m 755 -p "calculator" "/opt/qt4/demos/declarative/calculator/calculator"

make[3]: Entering directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews'

strip "/opt/qt4/demos/declarative/calculator/calculator"

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/main.cpp /opt/qt4/demos/declarative/rssnews/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews.desktop /opt/qt4/demos/declarative/rssnews/

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame/qml/samegame /opt/qt4/demos/declarative/samegame/qml/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/calculator'

install -m 755 -p "samegame" "/opt/qt4/demos/declarative/samegame/samegame"

strip "/opt/qt4/demos/declarative/samegame/samegame"

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/qml/rssnews /opt/qt4/demos/declarative/rssnews/qml/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews_harmattan.desktop /opt/qt4/demos/declarative/rssnews/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/photoviewer'

cd twitter/ && make -f Makefile install

make[3]: Entering directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter'

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/main.cpp /opt/qt4/demos/declarative/twitter/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter.desktop /opt/qt4/demos/declarative/twitter/

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/qml/twitter /opt/qt4/demos/declarative/twitter/qml/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter_harmattan.desktop /opt/qt4/demos/declarative/twitter/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame/samegame.svg /opt/qt4/demos/declarative/samegame/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews64.png /opt/qt4/demos/declarative/rssnews/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter64.png /opt/qt4/demos/declarative/twitter/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/flickr'

cd webbrowser/ && make -f Makefile install

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews80.png /opt/qt4/demos/declarative/rssnews/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter80.png /opt/qt4/demos/declarative/twitter/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter.pro /opt/qt4/demos/declarative/twitter/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter.qmlproject /opt/qt4/demos/declarative/twitter/

install -m 755 -p "rssnews" "/opt/qt4/demos/declarative/rssnews/rssnews"

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/samegame'

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews.pro /opt/qt4/demos/declarative/rssnews/

install -m 755 -p "twitter" "/opt/qt4/demos/declarative/twitter/twitter"

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter/twitter.svg /opt/qt4/demos/declarative/twitter/

strip "/opt/qt4/demos/declarative/twitter/twitter"

strip "/opt/qt4/demos/declarative/rssnews/rssnews"

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews.qmlproject /opt/qt4/demos/declarative/rssnews/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/twitter'

make[3]: Entering directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser'

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/main.cpp /opt/qt4/demos/declarative/webbrowser/

cp -f -r /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/qml/webbrowser /opt/qt4/demos/declarative/webbrowser/qml/

install -m 755 -p "webbrowser" "/opt/qt4/demos/declarative/webbrowser/webbrowser"

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser.desktop /opt/qt4/demos/declarative/webbrowser/

strip "/opt/qt4/demos/declarative/webbrowser/webbrowser"

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser_harmattan.desktop /opt/qt4/demos/declarative/webbrowser/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews/rssnews.svg /opt/qt4/demos/declarative/rssnews/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser64.png /opt/qt4/demos/declarative/webbrowser/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/rssnews'

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser80.png /opt/qt4/demos/declarative/webbrowser/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser.pro /opt/qt4/demos/declarative/webbrowser/

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser.qmlproject /opt/qt4/demos/declarative/webbrowser/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/snake'

install -m 644 -p /opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser/webbrowser.svg /opt/qt4/demos/declarative/webbrowser/

make[3]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative/webbrowser'

make[2]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos/declarative'

make[1]: Leaving directory `/opt/qt-everywhere-opensource-src-4.8.6/demos'

 


  1. echo “export QTDIR=$INSTALL_LOC/qt-everywhere-opensource-src-5.3.0/qtbase” >> ~/.bashrc
  2. echo “export QTINC=$QTDIR/include” >> ~/.bashrc
  3. echo “export QTLIB=$QTDIR/lib” >> ~/.bashrc
  4. echo “export PATH=$QTDIR/bin:$PATH” >> ~/.bashrc


QTDIR=/opt/qt4

PATH=$QTDIR/bin:$PATH

QTINC=/opt/qt4/include

LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH

#export QTDIR PATH LD_LIBRARY_PATH

export QTDIR LD_LIBRARY_PATH QTINC



 cc1plus: error: unrecognized command line option ‘-std=c++11’


*.pro file open 수정
# Enable C++11
QMAKE_CXXFLAGS += -std=c++0x
#QMAKE_CXXFLAGS += -std=c++11



./ui_elementpropertieseditorwidget.h:13:29: fatal error: QtWidgets/QAction: No such file or directory

compilation terminated.










GIT Program 다운로드  : http://git-scm.com/downloads



'Qt' 카테고리의 다른 글

Property Value Initialization Semantics[10_23]  (0) 2015.10.23
Exposing Attributes of C++ Types to QML[QT]  (0) 2015.10.23
Qt 시그널 슬롯 시스템  (0) 2015.06.27
Qt_6월 27일  (0) 2015.06.27
CBDSW 가이드  (0) 2015.06.25

오로카의 Darius 님의 글 http://cafe.naver.com/openrt/5858


Qt는 시그널 /슬롯 시스템을 이용하여, 개발자에게 이벤트 인터페이스를 제공한다. 

시그널/슬롯은 connect함수로 오브젝트간에 연관관계를 맺어준다.

1:1 과 1:N  으로 연결이 가능하다.




'Qt' 카테고리의 다른 글

Exposing Attributes of C++ Types to QML[QT]  (0) 2015.10.23
git 설치  (0) 2015.06.29
Qt_6월 27일  (0) 2015.06.27
CBDSW 가이드  (0) 2015.06.25
Qt  (0) 2015.06.23

+ Recent posts