1차적으로 완료해서 친구들에게 뿌려준 뒤 1차적으로 버그를 잡았다.
UI는 기능을 구현하고 나서 새롭게 프로그램을 만들어야 할듯 ㅠ
일단은 여기서 기능을 추가해야 될듯하다.
Qt의 static build가 어려웠었다 ㅠㅠ
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
 | 
#include "mainwindow.h" 
#include "ui_mainwindow.h" 
#include <QImage> 
#include <QPixmap> 
MainWindow::MainWindow(QWidget *parent) : 
    QMainWindow(parent), 
    ui(new Ui::MainWindow) 
{ 
    ui->setupUi(this); 
    QString img_path = "C:/AMD/SDC11388.JPG"; 
    QImage img(img_path);     
    QPixmap buf = QPixmap::fromImage(img); 
    ui->label->setPixmap(buf); 
    ui->label->resize(buf.width(), buf.height()); 
} 
MainWindow::~MainWindow() 
{ 
    delete ui; 
} 
 | 
1 
2 
3 
4 
5 
6 
7 
8 
9 
10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
 | 
#include "mainwindow.h" 
#include "ui_mainwindow.h" 
#include <QImage> 
#include <QPixmap> 
#include <QGraphicsView> 
#include <QGraphicsScene> 
MainWindow::MainWindow(QWidget *parent) : 
    QMainWindow(parent), 
    ui(new Ui::MainWindow) 
{ 
    ui->setupUi(this); 
    QString img_path = "C:/AMD/SDC11388.JPG"; 
    QImage img(img_path);     
    QPixmap buf = QPixmap::fromImage(img); 
    buf = buf.scaled(1024,1024); 
    QGraphicsScene* scene = new QGraphicsScene; 
    ui->graphicsView->setScene(scene); 
    scene->addPixmap(buf); 
} 
MainWindow::~MainWindow() 
{ 
    delete ui; 
} 
 | 
![]()  | 
| 아이튠즈 스타일..? | 
![]()  | 
| 당근을 조그맣게 만드려면 썰어야 하는수밖에..?? 이미지 출처 http://season4.tistory.com/m/post/view/id/253  |