abclinuxu.cz AbcLinuxu.cz itbiz.cz ITBiz.cz HDmag.cz HDmag.cz abcprace.cz AbcPráce.cz
AbcLinuxu hledá autory!
Inzerujte na AbcPráce.cz od 950 Kč
Rozšířené hledání
×
    dnes 04:44 | IT novinky

    Společnost Meta na dvoudenní konferenci Meta Connect 2025 představuje své novinky. První den byly představeny nové AI brýle: Ray-Ban Meta (Gen 2), sportovní Oakley Meta Vanguard a především Meta Ray-Ban Display s integrovaným displejem a EMG náramkem pro ovládání.

    Ladislav Hagara | Komentářů: 0
    dnes 01:11 | Nová verze

    Po půl roce vývoje od vydání verze 48 bylo vydáno GNOME 49 s kódovým názvem Brescia (Mastodon). S přehrávačem videí Showtime místo Totemu a prohlížečem dokumentů Papers místo Evince. Podrobný přehled novinek i s náhledy v poznámkách k vydání a v novinkách pro vývojáře.

    Ladislav Hagara | Komentářů: 0
    včera 16:22 | Nová verze

    Open source softwarový stack ROCm (Wikipedie) pro vývoj AI a HPC na GPU od AMD byl vydán ve verzi 7.0.0. Přidána byla podpora AMD Instinct MI355X a MI350X.

    Ladislav Hagara | Komentářů: 0
    včera 15:22 | Nová verze

    Byla vydána nová verze 258 správce systému a služeb systemd (GitHub).

    Ladislav Hagara | Komentářů: 5
    včera 15:11 | Nová verze

    Byla vydána Java 25 / JDK 25. Nových vlastností (JEP - JDK Enhancement Proposal) je 18. Jedná se o LTS verzi.

    Ladislav Hagara | Komentářů: 0
    včera 14:44 | Humor

    Věra Pohlová před 26 lety: „Tyhle aféry každého jenom otravují. Já bych všechny ty internety a počítače zakázala“. Jde o odpověď na anketní otázku deníku Metro vydaného 17. září 1999 na téma zneužití údajů o sporožirových účtech klientů České spořitelny.

    Ladislav Hagara | Komentářů: 4
    včera 11:33 | Zajímavý článek Ladislav Hagara | Komentářů: 0
    16.9. 21:44 | Nová verze

    Byl vydán Mozilla Firefox 143.0. Přehled novinek v poznámkách k vydání a poznámkách k vydání pro vývojáře. Nově se Firefox při ukončování anonymního režimu zeptá, zda chcete smazat stažené soubory. Dialog pro povolení přístupu ke kameře zobrazuje náhled. Obzvláště užitečné při přepínání mezi více kamerami. Řešeny jsou rovněž bezpečnostní chyby. Nový Firefox 143 bude brzy k dispozici také na Flathubu a Snapcraftu.

    Ladislav Hagara | Komentářů: 0
    16.9. 17:22 | Nová verze

    Byla vydána betaverze Fedora Linuxu 43 (ChangeSet), tj. poslední zastávka před vydáním finální verze, která je naplánována na úterý 21. října.

    Ladislav Hagara | Komentářů: 0
    16.9. 12:22 | Nová verze

    Multiplatformní emulátor terminálu Ghostty byl vydán ve verzi 1.2 (𝕏, Mastodon). Přehled novinek, vylepšení a nových efektů v poznámkách k vydání.

    Ladislav Hagara | Komentářů: 0
    Jaké řešení používáte k vývoji / práci?
     (44%)
     (56%)
     (0%)
     (6%)
     (13%)
     (6%)
     (19%)
     (6%)
     (13%)
    Celkem 16 hlasů
     Komentářů: 1, poslední včera 13:49
    Rozcestník

    Dotaz: Mam problém při kompilaci s qt4

    pepe_ avatar 14.10.2009 22:12 pepe_ | skóre: 48
    Mam problém při kompilaci s qt4
    Přečteno: 332×
    zdravim , chtěl sem si zkompilovat qgamex a nejde mi to ikdyž sem doinstaloval vše co mně napadlo.
    user@NB-Pepe:~/zdrojaky$ git clone git://git.dolezel.info/qgamex.git
    Initialized empty Git repository in /home/user/zdrojaky/qgamex/.git/
    remote: Counting objects: 22, done.
    remote: Compressing objects: 100% (22/22), done.
    remote: Total 22 (delta 12), reused 0 (delta 0)
    Receiving objects: 100% (22/22), 16.71 KiB, done.
    Resolving deltas: 100% (12/12), done.
    user@NB-Pepe:~/zdrojaky$ cd qgamex
    user@NB-Pepe:~/zdrojaky/qgamex$ qmake
    WARNING: Found potential symbol conflict of mainform.cpp (mainform.cpp) in SOURCES
    WARNING: Found potential symbol conflict of mainform.h (mainform.h) in HEADERS
    user@NB-Pepe:~/zdrojaky/qgamex$ make
    Makefile:157: warning: overriding commands for target `moc_mainform.cpp'
    Makefile:154: warning: ignoring old commands for target `moc_mainform.cpp'
    g++ -c -pipe -g -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr/include/qt3 -o qgamex.o qgamex.cpp
    In file included from qgamex.cpp:20:
    qgamex.h:22:23: error: QStringList: No such file or directory
    qgamex.h:23:16: error: QMap: No such file or directory
    In file included from qgamex.cpp:21:
    mainform.h:22:19: error: QDialog: No such file or directory
    mainform.h:23:25: error: ui_mainform.h: No such file or directory
    qgamex.cpp:23:24: error: QApplication: No such file or directory
    qgamex.cpp:24:23: error: QMessageBox: No such file or directory
    qgamex.cpp:25:16: error: QDir: No such file or directory
    qgamex.cpp:26:24: error: QDomDocument: No such file or directory
    qgamex.cpp:27:17: error: QFile: No such file or directory
    qgamex.cpp:28:26: error: QTemporaryFile: No such file or directory
    qgamex.cpp:29:20: error: QProcess: No such file or directory
    qgamex.cpp:30:19: error: QtDebug: No such file or directory
    In file included from qgamex.cpp:20:
    qgamex.h:25: error: ‘QStringList’ does not name a type
    qgamex.h:26: error: ‘QString’ was not declared in this scope
    qgamex.h:26: error: ‘QMap’ was not declared in this scope
    qgamex.h:26: error: ‘QString’ was not declared in this scope
    qgamex.h:26: error: ‘QString’ was not declared in this scope
    qgamex.h:26: error: ‘data’ was not declared in this scope
    qgamex.h:26: error: initializer expression list treated as compound expression
    qgamex.h:27: error: ‘QString’ was not declared in this scope
    qgamex.h:27: error: expected primary-expression before ‘const’
    qgamex.h:27: error: ‘QString’ was not declared in this scope
    qgamex.h:27: error: ‘data’ was not declared in this scope
    qgamex.h:27: error: initializer expression list treated as compound expression
    qgamex.h:28: error: ‘QString’ was not declared in this scope
    qgamex.h:29: error: ‘QString’ does not name a type
    qgamex.h:30: error: expected ‘,’ or ‘...’ before ‘<’ token
    qgamex.h:30: error: ISO C++ forbids declaration of ‘QMap’ with no type
    qgamex.h:32: error: expected ‘,’ or ‘...’ before ‘<’ token
    qgamex.h:32: error: ISO C++ forbids declaration of ‘QMap’ with no type
    qgamex.h:35: error: ‘QString’ does not name a type
    In file included from qgamex.cpp:21:
    mainform.h:25: error: expected class-name before ‘,’ token
    mainform.h:26: error: expected class-name before ‘{’ token
    mainform.h:27: error: ISO C++ forbids declaration of ‘Q_OBJECT’ with no type
    mainform.h:28: error: expected ‘;’ before ‘public’
    mainform.h:32: error: expected `:' before ‘slots’
    mainform.h:33: error: expected primary-expression before ‘void’
    mainform.h:33: error: ISO C++ forbids declaration of ‘slots’ with no type
    mainform.h:33: error: expected ‘;’ before ‘void’
    mainform.h:39: error: ‘QListWidgetItem’ has not been declared
    mainform.h:44: error: expected ‘,’ or ‘...’ before ‘&’ token
    mainform.h:44: error: ISO C++ forbids declaration of ‘QString’ with no type
    mainform.h: In member function ‘void MainForm::switchedRunType()’:
    mainform.h:42: error: ‘updateByCheckbox’ was not declared in this scope
    qgamex.cpp: In function ‘int main(int, char**)’:
    qgamex.cpp:40: error: ‘QApplication’ was not declared in this scope
    qgamex.cpp:40: error: expected `;' before ‘app’
    qgamex.cpp:42: error: ‘class MainForm’ has no member named ‘show’
    qgamex.cpp:44: error: ‘app’ was not declared in this scope
    qgamex.cpp:48: error: ‘QMap’ was not declared in this scope
    qgamex.cpp:48: error: ‘QString’ was not declared in this scope
    qgamex.cpp:48: error: ‘params’ was not declared in this scope
    qgamex.cpp:49: error: ‘getenv’ was not declared in this scope
    qgamex.cpp:51: error: ‘loadProfile’ cannot be used as a function
    qgamex.cpp:55: error: ‘QApplication’ was not declared in this scope
    qgamex.cpp:55: error: expected `;' before ‘app’
    qgamex.cpp:56: error: ‘QMessageBox’ has not been declared
    qgamex.cpp: At global scope:
    qgamex.cpp:73: error: expected ‘,’ or ‘...’ before ‘<’ token
    qgamex.cpp:73: error: ISO C++ forbids declaration of ‘QMap’ with no type
    qgamex.cpp: In function ‘void runGame(int, char**, int)’:
    qgamex.cpp:77: error: ‘QTemporaryFile’ was not declared in this scope
    qgamex.cpp:77: error: expected `;' before ‘file’
    qgamex.cpp:78: error: ‘QStringList’ was not declared in this scope
    qgamex.cpp:78: error: expected `;' before ‘args’
    qgamex.cpp:79: error: ‘QString’ was not declared in this scope
    qgamex.cpp:79: error: expected `;' before ‘cmd’
    qgamex.cpp:81: error: ‘file’ was not declared in this scope
    qgamex.cpp:82: error: ‘filename’ was not declared in this scope
    qgamex.cpp:86: error: ‘params’ was not declared in this scope
    qgamex.cpp:96: error: ‘params’ was not declared in this scope
    qgamex.cpp:98: error: expected `;' before ‘xm’
    qgamex.cpp:100: error: ‘xm’ was not declared in this scope
    qgamex.cpp:102: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:107: error: ‘params’ was not declared in this scope
    qgamex.cpp:109: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:114: error: ‘params’ was not declared in this scope
    qgamex.cpp:116: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:120: error: ‘params’ was not declared in this scope
    qgamex.cpp:122: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:130: error: ‘params’ was not declared in this scope
    qgamex.cpp:132: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:137: error: ‘params’ was not declared in this scope
    qgamex.cpp:141: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:146: error: ‘cmd’ was not declared in this scope
    qgamex.cpp:149: error: expected `;' before ‘arg’
    qgamex.cpp:150: error: ‘arg’ was not declared in this scope
    qgamex.cpp:166: error: ‘QProcess’ was not declared in this scope
    qgamex.cpp:166: error: expected `;' before ‘process’
    qgamex.cpp:169: error: expected `;' before ‘args’
    qgamex.cpp:171: error: ‘args’ was not declared in this scope
    qgamex.cpp:173: error: ‘qDebug’ was not declared in this scope
    qgamex.cpp:175: error: ‘params’ was not declared in this scope
    qgamex.cpp:180: error: ‘process’ was not declared in this scope
    qgamex.cpp:180: error: ‘QProcess’ is not a class or namespace
    qgamex.cpp:181: error: ‘QIODevice’ has not been declared
    qgamex.cpp:185: error: ‘process’ was not declared in this scope
    qgamex.cpp:185: error: ‘QProcess’ is not a class or namespace
    qgamex.cpp:186: error: ‘QIODevice’ has not been declared
    qgamex.cpp:189: error: ‘process’ was not declared in this scope
    qgamex.cpp:190: error: ‘QMessageBox’ has not been declared
    qgamex.cpp: At global scope:
    qgamex.cpp:73: warning: unused parameter ‘argv’
    qgamex.cpp:73: warning: unused parameter ‘QMap’
    qgamex.cpp: In function ‘int getFreeDisplay()’:
    qgamex.cpp:199: error: ‘QFile’ has not been declared
    qgamex.cpp:199: error: ‘QString’ was not declared in this scope
    qgamex.cpp: In function ‘int getCurrentDisplay()’:
    qgamex.cpp:207: error: ‘getenv’ was not declared in this scope
    qgamex.cpp:212: error: ‘exit’ was not declared in this scope
    qgamex.cpp:216: error: ‘strchr’ was not declared in this scope
    qgamex.cpp:220: error: ‘exit’ was not declared in this scope
    qgamex.cpp:223: error: ‘atoi’ was not declared in this scope
    qgamex.cpp: At global scope:
    qgamex.cpp:227: error: ‘QString’ does not name a type
    qgamex.cpp:240: error: ‘QStringList’ does not name a type
    qgamex.cpp:263: error: ‘QString’ does not name a type
    qgamex.cpp:273: error: redefinition of ‘bool loadProfile’
    qgamex.h:26: error: ‘bool loadProfile’ previously defined here
    qgamex.cpp:273: error: ‘QString’ was not declared in this scope
    qgamex.cpp:273: error: ‘QMap’ was not declared in this scope
    qgamex.cpp:273: error: ‘QString’ was not declared in this scope
    qgamex.cpp:273: error: ‘QString’ was not declared in this scope
    qgamex.cpp:273: error: ‘data’ was not declared in this scope
    make: *** [qgamex.o] Error 1
    user@NB-Pepe:~/zdrojaky/qgamex$ 
    
    Nenapadá někoho co tomu chybí ?

    Odpovědi

    14.10.2009 22:19 Andrej Herceg | skóre: 43
    Rozbalit Rozbalit vše Re: Mam problém při kompilaci s qt4
    Nie je to náhodou určené len pre Qt4? (s Qt4 sa mi to skompilovalo bez problémov a okrem Qt4 to pravdepodobne nič iné nepotrebuje)
    14.10.2009 22:22 Andrej Herceg | skóre: 43
    Rozbalit Rozbalit vše Re: Mam problém při kompilaci s qt4
    A ak máš nainštalované aj Qt4 (aj devel balíčky) tak pravdepodobne používaš nesprávny program qmake (lebo ti to vygenerovalo Makefile pre Qt3).
    pepe_ avatar 14.10.2009 22:27 pepe_ | skóre: 48
    Rozbalit Rozbalit vše Re: Mam problém při kompilaci s qt4
    jj jen pro qt4 a jak ja to ovlivnim ? mam oba qt3 i qt4
    pepe_ avatar 14.10.2009 22:33 pepe_ | skóre: 48
    Rozbalit Rozbalit vše Re: Mam problém při kompilaci s qt4
    Vyřešeno , místo qmake jen dát qmake-qt4

    to je teda věc , díky za bleskovou odpověď !

    tak to jdu testnout neb sauerbraten mi chodil moc pomalu s metacity kompozitorem a ja chci pruhlednosti ...

    Založit nové vláknoNahoru

    Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

    ISSN 1214-1267   www.czech-server.cz
    © 1999-2015 Nitemedia s. r. o. Všechna práva vyhrazena.