Save it with name "ex1" (click Next.next. Now is time to make new project, choose " File" -> " New File or Project" -> " Qt Gui Application" in " Project" section. Okay, if there is no fault, you will see a noted line of "Found Qt version 4.6.2, using mkspec /usr/local/Qt/mkspecs/qws/linux-arm-g++" under " Debugging Helper". For what i did, I choose /usr/local/Qt/bin/qmake (That directory is generated by cross-compiled Qt4.6.2, if possible, you can have a look cross-compiling Qt4.6.2 here). In section " QMake Location", click on " Browse." and you should indicate Qt creator know where the directory of qmake is. Click on " Manual" and then choose plus ( +) button located on the top right, in section " Version Name" you could let down what name you like (I typed " mini2440"). In " Options" window, click to " Qt4" -> " Qt Version", on the right part you will see " Auto-detected" and " Manual". Okay, on screen of Qt creator, choose " Tools" -> " Options". To know compiling Qt4.6.2, please have a look here). Because we use a cross-tool to build program for ARM processor on mini2440, we will signify Qt creator knowing where qmake is ( qmake is a cross-tool that is in Qt4.6.2 directory which is cross-compiled already. Click on it, then you will see " Install" button lying on the right.Īfter successful installing Qt creator on your computer, you could open it on "Applications" -> "Programming" -> "Qt creator".īefore typing a new program, it should indicate Qt creator know the cross-tool you are using to compile. Searching results should be presented with "Qt creator" in the first line. In the new window appearing, you should type "Qt creator" on the search section located on the top right. On Ubuntu, click on " Applications" -> " Ubuntu Software Center". And lastly, copying it from host computer (Ubuntu) to mini2440. Then, opening Qt creator to make a simple program "hello world". Right now, I will show you build a "hello world" program by Qt creator.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |