Why i needed to build my app on another platform?
I’ve used Qt just for its cross platform-ness indeed its “code less and do more ” paradigm is apt so there were hinderances in using MinGW compiler to build my project targeted to windows platform, below is the listed procedure and screenshots
Its a 2 Stage Process, Installing Libraries and building your project
Working on Microsoft Windows 7 and Mac OSX Snow Leopard
*Note: Phew Dont Worry its very simple, ive just added some information, so it looks little long
- Qt libraries 4.8.2 for Windows (or Higher Version)
- Your .proj file (Associated .ui, .cpp, .h etc)
STAGE 1: Setting up the environment
Step1:Download and install mingw-get-inst
Get if from here
You would need this as in Qt libraries installation it will ask you for the g++ component
- C Compiler
- C++ Compiler
- MingW Developer Toolkit
Step2:Download and Install Qt libraries 4.8.2 for Windows
- Goto : http://qt.nokia.com/downloads
- Scroll down to Qt Library
- and choose your version
*Choose with minGW*
ex:Qt libraries 4.8.2 for Windows (minGW 4.4, 318 MB)
You Can get the above file from here
and finish the installation in case if it asks you for g++ component , point to the MinGW/bin folder you just installed in step1
Step4:Setting Up Environment Variables
In User variables create
*The above value is the location where you installed your version of Qt
Next: Set the Path Variable
*They are locations where you installed MinGW and Qt respectively
STAGE 2: Make and Build Project
Step1:Goto Start > All Programs > Qt by Nokia v4.8.2 (MinGW OpenSource)>Qt 4.8.2 Command Prompt
Now you can put your folder containing .proj file (Associated .ui, .cpp, .h etc) in one folder and placethem in C:\Qt\4.8.2
In the Screenshot the folder where my project files reside are in Galaxyand Galaxy.proj is the project file
Now go to the Galaxy Directory as cd Galaxy
qmake -o Makefile Galaxy.pro
mingw32-make -f Makefile.Debug
Now Within Galaxy Folder you have Debug and Release where your executable .exe file resides
Now Enjoy Making Projects on Mac OSX and Easily Deploy on Windows too
Here are the screenshots for my prototype apllication in windows and OSX
*Censored as it is a Coveted Project *
Deployed on Mac OSX (Project Written and Built Initially):
Deployed To Windows:
Want Some Way to access your Linux machine , then you definitely need to install OpenSSH
1.Allows you to execute terminal commands from almost any device (Yes Any device)
2.Copy Files to and Fro!
3.Execute your School/Programs directly on your machine rather than your College
(may be your college systems are Hogging or its just that you got a pretty damn fast system)
4.Forget about using the insecure telnet service!, OpenSSh is Secure!!!
Step1: Install the Server and Client relevant to OpenSSh , Execute the below Command in your terminal
sudo apt-get install openssh-client openssh-server
Step2: Now You need to get your IP Address (if you know skip this) also assume you know the username of the system using which you log in ifconfig Note: look for the ip address after "inet addr" example 22.214.171.124 and username is rahul Step3: Now download a client (putty/Terminal) to access your system ssh host@ipaddress example : ssh firstname.lastname@example.org Note: rahul will be the username of the Target system in which the OpenSSh server is running and its corresponding ip address. Make sure you enter logout in the terminal before you close your session Happy Playing!
Want to get rid of having you’r iphone being connected to the system for internet?
Then you should have a computer that has Bluetooth hardware.
You then have the option to tether you’r carrier internet (EDGE/3G) to you’r system and Stay relaxed
Though It drains you’r battery! Its a better option and also in cases when you don’t have the Transfer cable with you!
Would you like to enable the telnet service in ubuntu?
Though its not secure at all,may be you have been using it in you’r institution or you want to make you’r system a unix server so that a bunch of people/students can access your VIM EDITOR,most institutions use to write Network programs..
1st We need to install the Telnet Server on our System:
In terminal type this:
sudo apt-get install telnetd
2nd We just refresh it i.e. restart the service:
sudo /etc/init.d/openbsd-inetd restart
Now get the ip address of you’r system and give them to you’r TRUSTED perrs and if they are in windows/linux
done! they can now use your Linux Services on their machine
Want to install the new Kubuntu KDE on you’r Gnome…If Yes proceed down
First thing first…if you install kde along with gnome,you will have both kde default applications like Konquer and all along with you’r ubuntu applications…just have a look at the Gnome Menu bar applications list..well lets not worry about that,KDE is whole lot beautiful..ill get the screenshots later ok!
You Get the lates Ubuntu 10.10 and do this
- Go to System>Administration>Synaptic Packet Manager.
- Search for Kubuntu at the top right
- Find ”Kubuntu Plasma Desktop System“.
- Mark For installation.
- Wait for some time..it will download lots and lots of packages..approx 700 mb Disc space will be used,be prepared for it
- after that log out.
- click the user name.
- look at the bottom and find SESSION.
- Choose KDE.
- Voila You’r KDE will Start and play with widgets and its beauty.