Skip to content

MunifNagi/ImageProcessing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

ImageProcessing

Professor George Wolberg

This is a Qt project, in order to run this you have to install Qt Compiling CS470.skel under Visual Studio 2017

  1. Download Visual studio community 2017 and select "Desktop development with C++" and install

  2. Download Qt5.11.2 for Windows from here:

https://download.qt.io/archive/qt/5.11/5.11.2/qt-opensource-windows-x86-5.11.2.exe

  1. During Qt installation, Select Qt5.11.2 for msvc2017_64.

It will install it in C:\Qt\Qt5.11.2\5.11.2\msvc2017_64

  1. Add C:\Qt\Qt5.11.2\5.11.2\msvc2017_64\bin to your path and make sure in shell command line: "qmake -version" point to Qt5.11.2.

  2. Replace CS470.pro with the attached CS470.pro.

  3. Delete debug, release, CS470.pro.user, .qmake.stash and all previous CS470.skel.vcxproj.*

  4. open a powershell or terminal in that folder and type: qmake -tp vc CS470.pro

  5. Double click on CS470.skel.vcxproj. It will load the project in VS 2017.

  6. You should be able to compile with any error.

Compiling under Mac OS (unreponsive GUI bug fixed)

  1. Download Qt5.11.2 from here: https://download.qt.io/archive/qt/5.11/5.11.2/qt-opensource-mac-x64-5.11.2.dmg

  2. Install it (you don't need to check source codes or other modules).

  3. By default it installs in /User/"your user name"

  4. add the following line to .bash_profile:

export PATH=~/Qt5.11.2/5.11.2/clang_64/bin:$PATH

  1. Replace MainWindow.cpp by MainWindow.cpp in CS470.skel folder.

  2. Open a terminal in CS470.skel folder.

  3. Delete debug, Release, .qmake.stash files and folders

  4. Type qmake -version to make sure your qmake pointing to Qt5.11.2

  5. Type qmake -spec macx-clang CS470.pro

  6. Type make -j4

if you want to work in Xcode, type the following: qmake -spec macx-xcode CS470.pro

Step 1. Install Qt

Step 2. Navigate to one of the folders (that's my_opengl_version, qip_1st_semester, and qip_2nd_semester. Each one is different project)

Step 3. Running following commands one by one(assume we're in qip_2nd_semester).

qmake qip.pro

This command will generate a Makefile, note that in folder 'my_opengl_version', we use hw.pro instead.

Next

make

This command will complie the program and produce excutable.

Lastly

./qip

to run your excutable.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages