'Tips'에 해당하는 글 47건

Linux, Window, OSX  어떤 환경이든지 코드 빌드는 여기서 하세요!!


http://wohlsoft.ru/pgewiki/Building_static_Qt_5




저작자 표시
신고

'Tips > Qt Tip' 카테고리의 다른 글

Building static Qt 5 on any OS  (0) 2017.07.15
Build Qt code in VS2015 & mingw  (0) 2016.03.31
Unable to debug Qt4.8.5 with CentOS6  (0) 2016.03.09
Qt 4.8.5 build error in centos 6.X  (0) 2016.02.07
HierarchicalHeaderView  (0) 2016.01.28
Build Qt soure code in Linux  (0) 2015.09.18

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret

Qt visual studio version [2015 /2012]

http://stackoverflow.com/questions/14932315/how-to-compile-qt-5-under-windows-or-linux-32-or-64-bit-static-or-dynamic-on-v

https://github.com/fpoussin/Qt5-MSVC-Static

http://plexercode.com/qt-5-5-installation-for-visual-studio-2015/

Compiling Qt 5.5.1 (With Qtwebkit) VS2015

http://blog.csdn.net/liuyez123/article/details/50339865#comments

http://pempek.net/articles/2015/10/18/compiling-qt-5-5-1-with-visual-studio-2015/

 


Qt 5.6.0 for Android (Windows 32-bit, 1.1 GB)

Qt 5.6.0 for Windows 32-bit (MinGW 4.9.2, 1.0 GB)

http://blog.csdn.net/wsj18808050/article/details/50909381

Qt5.6 compiled SQL Server driver

http://blog.csdn.net/x356982611/article/details/51020333

 

 

저작자 표시
신고

'Tips > Qt Tip' 카테고리의 다른 글

Building static Qt 5 on any OS  (0) 2017.07.15
Build Qt code in VS2015 & mingw  (0) 2016.03.31
Unable to debug Qt4.8.5 with CentOS6  (0) 2016.03.09
Qt 4.8.5 build error in centos 6.X  (0) 2016.02.07
HierarchicalHeaderView  (0) 2016.01.28
Build Qt soure code in Linux  (0) 2015.09.18

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret

1. Install Python 2.7


cd /usr/local/src
wget -N http://www.python.org/ftp/python/2.7.6/Python-2.7.6.tgz
tar xzf Python-2.7.6.tgz
cd Python-2.7.6
./configure
make
make altinstall

파이썬 버전및 경로확인

ll /usr/bin/python*

2.6버전이 기존 설치버전.,

mv /usr/bin/python /usr/bin/python_old

기존 파이썬 버전을 백업시켜두고

cp /usr/local/bin/python2.7 /usr/bin/python

새로 설치한 버전을 기존이름으로 바꿔치기 한다.

python -V

버전확인!


재밌는점은 yum이 파이썬으로 제작되었다는점! 그래서 파이썬 기존 버전이 바뀌게 되면 이녀석이 작동을 안한다! 그러므로 기존 버전과 같은 이름으로 변경시켜주어야된다.

cp /usr/bin/yum /usr/bin/yum_old

yum을 백업시키고

sed -i 's/\/usr\/bin\/python/\/usr\/bin\/python2.6/g' /usr/bin/yum

앞전에 위에서 파이썬 확인 명령어로 해당 버전을 맞춰준다( 여기선 2.6이다)

diff /usr/bin/yum_old /usr/bin/yum

마지막으로 diff명령어로 변경시켜주면 끝!


추가로 파이썬에 필요한 개발도구 설치 명령어이다.

yum groupinstall "Development tools" yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel

2.  터미널 열고 gdb-7.7 다운받아서 소스코드 빌드

3. Qt Creator Tools --> Option 에 debugger 에 gdb 추가하기

  • in Qt Creator 3.5.0: add /home/user/gdb-install/bin/gdb as the new debugger
  • create/augment kit with that debugger


저작자 표시
신고

'Tips > Qt Tip' 카테고리의 다른 글

Building static Qt 5 on any OS  (0) 2017.07.15
Build Qt code in VS2015 & mingw  (0) 2016.03.31
Unable to debug Qt4.8.5 with CentOS6  (0) 2016.03.09
Qt 4.8.5 build error in centos 6.X  (0) 2016.02.07
HierarchicalHeaderView  (0) 2016.01.28
Build Qt soure code in Linux  (0) 2015.09.18

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret

ERROR: Package gstreamer-app-0.10 not found
cat /etc/redhat-release
CentOS release 6.x (Final)

Solution

yum install gstreamer-plugins-base-devel

저작자 표시
신고

'Tips > Qt Tip' 카테고리의 다른 글

Build Qt code in VS2015 & mingw  (0) 2016.03.31
Unable to debug Qt4.8.5 with CentOS6  (0) 2016.03.09
Qt 4.8.5 build error in centos 6.X  (0) 2016.02.07
HierarchicalHeaderView  (0) 2016.01.28
Build Qt soure code in Linux  (0) 2015.09.18
우분투에 설치된 Qt Creator 테마 바꾸기  (0) 2015.09.17

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret

Qt 에서 헤더를 여러 줄로 해서 만들고자 할 때. 이 프로젝트를 보세요..

hv_example_fix.zip



저작자 표시
신고

'Tips > Qt Tip' 카테고리의 다른 글

Unable to debug Qt4.8.5 with CentOS6  (0) 2016.03.09
Qt 4.8.5 build error in centos 6.X  (0) 2016.02.07
HierarchicalHeaderView  (0) 2016.01.28
Build Qt soure code in Linux  (0) 2015.09.18
우분투에 설치된 Qt Creator 테마 바꾸기  (0) 2015.09.17
Customize QListWidgetItem  (0) 2015.04.02

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret

Error Message

 - softwarecenter.ui.gtk3.app - INFO - show_available_packages: search_text is '',

app is None.




Open a Terminal and run these commands:


sudo apt-get purge software-center

rm -rf ~/.cache/software-center

rm -rf ~/.config/software-center

rm -rf ~/.cache/update-manager-core

sudo apt-get update

sudo apt-get dist-upgrade

sudo apt-get install software-center ubuntu-desktop

sudo dpkg-reconfigure software-center --force

sudo update-software-center

software-center        // 동작 확인



저작자 표시
신고

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret
  • Always have the same name as the class
  • Does not return anything
  • Use : syntax to initialize member variables


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "Rectangle.h"
 
/*
Rectangle(): _width{ 1 }, _height{ 1 }
{ }


*/


int main()
{
    int x;                        //garbage value
    int y{};
    int z{};
 
    Rectangle unintialized;   //garbage value
    Rectangle value{};
    Rectangle aggregate{ 2,3 };
 
    value._width = 2;
    value._height = 3;
}
cs


This contents comes from edx : Introduction to C++

저작자 표시
신고

'Tips > C++ Eng' 카테고리의 다른 글

Constructor[생성자]  (0) 2015.11.28
Introducing Classes  (0) 2015.11.28
Storage classes and Scope  (0) 2015.11.23
Introducing the for Loop  (0) 2015.11.04
The Conditional (Ternary : 3중 조건문)  (0) 2015.11.04
switch Statments  (0) 2015.11.04

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret

Creating Classes and Members

In C++, a class is a programming construct that you can use to define your own custom types. When you create a class, you are effectively creating a blueprint for the type. The class defines the behaviors and characteristics, or class members, which are shared by all instances of the class. You represent these behaviors and characteristics by defining methods and fields within your class.

Suppose you create a class to represent a rectangle shape in your program.  You use the class keyword to declare a class, as shown in the following example:

//Declaring a Class
class Rectangle
{
public:
    int _width;
    int _height;

};

Here we have declared a class called Rectangle and given it two public member variables called _width and _height, that will be used to represent the width and height of our rectangle.   Note that they are accessible directly because they are public, as a result of the public: modifier.

Using a Class

Now that we have a class created to represent a rectangle, we can use that in our code to create instances of a rectangle in our program.  When we create a new rectangle from this class, it is known as a rectangle object and will be given a unique name.  That way ,we can refer to it in our program directly and distinguish it from other rectangle instances that we might create, should our program require more than one.

void main()
{
     Rectangle outer;
     Rectangle inner;    

     outer._width = 10;
     outer._height = 10;

     inner._width = 5;
     inner._height = 5;
}

In this sample code, we have created two rectangle objects called outer and inner.   Then, using what is known as "dot notation" or the dot operator, we provide values for the width and height of each rectangle.  The outer rectangle is 10 x 10 and the inner rectangle is 5x5.

This contents comes from edx : Introduction to C++

저작자 표시
신고

'Tips > C++ Eng' 카테고리의 다른 글

Constructor[생성자]  (0) 2015.11.28
Introducing Classes  (0) 2015.11.28
Storage classes and Scope  (0) 2015.11.23
Introducing the for Loop  (0) 2015.11.04
The Conditional (Ternary : 3중 조건문)  (0) 2015.11.04
switch Statments  (0) 2015.11.04

WRITTEN BY
Profile
비타오백
Enjoy your stage!

받은 트랙백이 없고 , 댓글이 없습니다.
secret