Thursday, November 12, 2009

Qt installing panic on linux : ( gcc : command not found ) error




In My OOP course, I was assigned to implement a simlpe painter . Java and C++ was allowed to do that , but I perefered C++ . I tried to install Qt creator on My new KUbuntu ...... but it was like a horrible panic for me ......
I spent 6 days trying to do that.. but finally I managed to install ....
First of all see this link to setup your Qt creator on linux ..
after that , if you tried to run your fist program using Qt ... and you can't do that because of this error:

gcc : commant not found

or
g++: command not found

those two errors are refering to that you have a problem with your C++ compiler on linux .. it may be not installed or it may be an old version ....
here you are my partner in hell ......:D:D
The solution for this is to opner your terminal and just type that two commands before running your program ..
1-

sudo apt-get update

2 -

sudo apt-get install build-essential

then you can re-install your Qt creator following the previous link ... and it will run in a proper way in sha2 ALLAH...
I hope that it was helpful .... and good luck

Thursday, September 17, 2009

بعض الادعية الهامة التي نحتاجها في الصلاة

اولا : اّداب الدعاء

 ان تكون حاضر الذهن و القلب

 التاّدب لله عز و جلّ .

 الثناء على الله عز و جلّ وذلك بدعائه باسمائه التي انزلها الله عز و جلّ في القراّن الكريم ( اسماء الله الحسنى ) و ان تحمد الله على نعمه الجليلة .

الصلاة على خاتم النبيين و المرسلين سيدنا محمد صلى الله عليه و سلم .

  ثم بعد ذلك ادع الله بما شئت من امور في الدنيا و الاّخرة و اعلم ان الدعاء كالسهم قد يطول مداه و لكنه سيصيب ان شاء الله .

ثانيا : بعض الادعية الهامة التي نحتاجها في الصلاة
 دعاء الذهاب إلى المسجد
اللّهُـمَّ اجْعَـلْ في قَلْبـي نورا ، وَفي لِسـاني نورا، وَاجْعَـلْ في سَمْعي نورا، وَاجْعَـلْ في بَصَري نورا،
وَاجْعَـلْ مِنْ خَلْفي نورا، وَمِنْ أَمامـي نورا، وَاجْعَـلْ مِنْ فَوْقـي نورا ، وَمِن تَحْتـي نورا .اللّهُـمَّ أَعْطِنـي نورا.
دعاء الدخول والخروج من المسجد
عند الدخول يقدم قدمه اليمنى ثم يقول
( أعوذ بالله العظيم ، وبوجهه الكريم ، وسلطانه القديم ، من الشيطان الرجيم )  

( بسم الله والصلاة والسلام على رسول الله اللهم افتح لي أبواب رحمتك )
عند الخروج يقدم قدمه اليسرى ثم يقول
( بسم الله والصلاة والسلام على رسول الله اللهم أني أسألك من فضلك اللهم أعصمني من الشيطان الرجيم )
أذكار الأذان
يقول مثل ما يقول المؤذن إلا في " حي على الصلاة ، وحي على الفلاح " فيقول " لا حول ولا قوة إلا بالله "
ثم يقول بعد الفراغ من الأذان
( اللهم رب هذه الدعوة التامة والصلاة القائمة أتي محمداً الوسيلة والفضيلة وابعثه اللهم مقاماً محموداً الذي وعدته انك لا تخلف الميعاد )
( رضيت بالله رباً ، وبمحمداً رسولاً وبالإسلام دينا ً)
( اللهم صلي على محمد وعلى آل محمد كما صليت على إبراهيم وعلى آل إبراهيم أنك حميد مجيد وبارك على محمد وعلى آل محمد كما باركت على إبراهيم وعلى آل إبراهيم انك حميد مجيد )
ومن الأمور المستحبة أن يدعي لنفسه ولمن شاء بين الأذان والإقامة حيث أن الدعاء لا يرد حينئذٍ
دعاء سجود التلاوة
سجد وجهي للذي خلقه وشق سمعه وبصره بحوله وقوته (فتبارك الله أحسن الخلقين)
اللهم اكتب لي بها عندك أجرا وضع عني بها وزرا واجعلها لي عندك ذخرا وتقبلها مني كما تقبلتها من عبدك داود ..
و للمزيد من الادعية التي يحتاجها كل مسلم اضغط هنا
اسال الله ان ينفعنا بما علمنا و ان يتقبل منا دعاءنا
""فهو القائل عز و جلّ""  ادعوني استجب لكم

Wednesday, September 2, 2009

Software Freedom Day 2009 @ ALexandria University

Tuesday 1st September 2009 was the Openning of the Event of Software Freedom Day @ Alexandria University....
It was a great and very Organized Day. The event was held at the faculty of Engineering of Alexandria University. This event organized by the help of Alexandria ACM chapter , OSUM Club and the Arabic Wikipedia Team ... and all of them are students at the faculty of Engineering of Alexandria University.
At the Beginning I attended the Introduction session of the event , the speaker was a student at 4th year of Computer Science Department and a software Engineer from ESpace .
Then, there was a session lasted for an hour about open source Software and introducing the idea of Software Freedom , Explaining the four main freedoms and discussing copyrights issues .
After those two sessions  there were some gifts to the first 50 person who registered online at the official  site of Sun. There were also some CDs of Open Solaris Operating System that were given to the attendants of the first day....
This Event will last for 2 weeks from 1-9-2009 To 15-9-2009 .
To get the program of the event you can find it here .
I hope to have a nice time during this event

Sunday, August 23, 2009

My First Post

Al salam 3alikom w Ra7mat Allah w Barakato
So, It's my fisrt post in my own blog. I hope all of you enjoy following my plog in sha2 ALLAH
Plogging is one of the most useful activites that helps you to record all the events during your career or your daily life. It's a good practice for all Computer science engineerings to have thier own plogs as this activity helps them in thier career and it's a positive side in thier CVs.

You all are welcome to follow my plog and i hope to be at your pproval in sha2 ALLAH