#include
#include
int main(int argc, char *argv[])
bu basit ornegi pardus/kate ile yazıp derledim calıştı problem yok fakat bir
benzeri aşagıdaki kodu calıştıramadım nedenini anlayamadım teşekkurler...
//hata veren ornek------------------------------------------------
#include
#include
int main(int argc, char *argv[])
//--------------------------------------------------------------------------------
qmake-qt4 -project 'de problem yok
qmake-qt4 'de problem yok
make 'de aşagıdaki hatayı veriyor...
---------------------------------------------------------------------------------------
[email protected] ornk $ qmake-qt4 -project
[email protected] ornk $ qmake-qt4
[email protected] ornk $ make
g++ -c -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/qt/4/mkspecs/linux-g++ -I. -I/usr/qt/4/include/QtCore -I/usr/qt/4/include/QtCore -I/usr/qt/4/include/QtGui -I/usr/qt/4/include/QtGui -I/usr/qt/4/include -I. -I. -I. -o ilk.o ilk.cpp
ilk.cpp:1:9: #include expects "FILENAME" or
ilk.cpp:2:9: #include expects "FILENAME" or
ilk.cpp:4: error: stray '\194' in program
ilk.cpp:4: error: stray '\160' in program
ilk.cpp:4: error: stray '\194' in program
ilk.cpp:4: error: stray '\160' in program
ilk.cpp:4: error: stray '\194' in program
ilk.cpp:4: error: stray '\160' in program
ilk.cpp:4: error: stray '\194' in program
ilk.cpp:4: error: stray '\160' in program
ilk.cpp: In function `int main(int, char**)':
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:6: error: `QApplication' was not declared in this scope
ilk.cpp:6: error: expected `;' before "app"
ilk.cpp:6: error: stray '\194' in program
ilk.cpp:6: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: stray '\194' in program
ilk.cpp:7: error: stray '\160' in program
ilk.cpp:7: error: `QLabel' was not declared in this scope
ilk.cpp:7: error: expected `;' before "merhaba"
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: stray '\194' in program
ilk.cpp:9: error: stray '\160' in program
ilk.cpp:9: error: `merhaba' was not declared in this scope
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: stray '\194' in program
ilk.cpp:10: error: stray '\160' in program
ilk.cpp:10: error: `app' was not declared in this scope
ilk.cpp:6: warning: unused variable 'QApplication'
ilk.cpp:7: warning: unused variable 'QLabel'
ilk.cpp:9: warning: unused variable 'merhaba'
ilk.cpp:10: warning: unused variable 'app'
ilk.cpp: At global scope:
ilk.cpp:5: warning: unused parameter 'argc'
ilk.cpp:5: warning: unused parameter 'argv'
make: *** [ilk.o] Hata 1
[email protected] ornk $
sorunun nedenini anlayan varmıdır acaba??
teşekkurler..................
__________________
qt başlangıc <Qlabel>'de hata
Android & IOS Uygulama Geliştirme0 Mesaj
●32 Görüntüleme
- ReadBull.net
- Programlama ve Yazılım
- Android & IOS Uygulama Geliştirme
- qt başlangıc <Qlabel>'de hata