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 01:00 | Komunita

    Debian dnes slaví 32 let. Ian Murdock oznámil vydání "Debian Linux Release" 16. srpna 1993.

    Ladislav Hagara | Komentářů: 8
    včera 17:44 | IT novinky

    Policisté zadrželi odsouzeného drogového dealera Tomáše Jiřikovského, který daroval ministerstvu spravedlnosti za tehdejšího ministra Pavla Blažka (ODS) bitcoiny v miliardové hodnotě, a zajistili i darovanou kryproměnu. Zadržení Jiřikovského může být podle ministerstva důležité k rozuzlení kauzy, která vypukla koncem května a vedla ke konci Blažka. Zajištění daru podle úřadu potvrzuje závěry dříve publikovaných právních

    … více »
    Ladislav Hagara | Komentářů: 6
    včera 13:44 | IT novinky

    Administrativa amerického prezidenta Donalda Trumpa jedná o možném převzetí podílu ve výrobci čipů Intel. Agentuře Bloomberg to řekly zdroje obeznámené se situací. Akcie Intelu v reakci na tuto zprávu výrazně posílily. Trump minulý týden označil Tana za konfliktní osobu, a to kvůli jeho vazbám na čínské společnosti, čímž vyvolal nejistotu ohledně dlouholetého úsilí Intelu o obrat v hospodaření. Po pondělní schůzce však prezident o šéfovi Intelu hovořil příznivě.

    Ladislav Hagara | Komentářů: 3
    včera 05:44 | IT novinky

    Společnost Purism stojící za linuxovými telefony a počítači Librem má nově v nabídce postkvantový šifrátor Librem PQC Encryptor.

    Ladislav Hagara | Komentářů: 10
    14.8. 18:00 | Nová verze

    VirtualBox, tj. multiplatformní virtualizační software, byl vydán v nové verzi 7.2. Přehled novinek v Changelogu. Vypíchnou lze vylepšené GUI.

    Ladislav Hagara | Komentářů: 0
    14.8. 14:11 | IT novinky

    Eric Migicovsky, zakladatel společnosti Pebble, v lednu oznámil, že má v plánu spustit výrobu nových hodinek Pebble s již open source PebbleOS. V březnu spustil předprodej hodinek Pebble Time 2 (tenkrát ještě pod názvem Core Time 2) za 225 dolarů s dodáním v prosinci. Včera představil jejich konečný vzhled (YouTube).

    Ladislav Hagara | Komentářů: 26
    14.8. 12:44 | Zajímavý software

    Byla oznámena nativní podpora protokolu ACME (Automated Certificate Management Environment) ve webovém serveru a reverzní proxy NGINX. Modul nginx-acme je zatím v preview verzi.

    Ladislav Hagara | Komentářů: 1
    14.8. 12:22 | Nová verze

    Vývojáři KDE oznámili vydání balíku aplikací KDE Gear 25.08. Přehled novinek i s náhledy a videi v oficiálním oznámení.

    Ladislav Hagara | Komentářů: 0
    13.8. 11:55 | IT novinky

    Společnost Perplexity AI působící v oblasti umělé inteligence (AI) podala nevyžádanou nabídku na převzetí webového prohlížeče Chrome internetové firmy Google za 34,5 miliardy dolarů (zhruba 723 miliard Kč). Informovala o tom včera agentura Reuters. Upozornila, že výše nabídky výrazně převyšuje hodnotu firmy Perplexity. Společnost Google se podle ní k nabídce zatím nevyjádřila.

    Ladislav Hagara | Komentářů: 5
    13.8. 04:33 | Bezpečnostní upozornění

    Intel vydal 34 upozornění na bezpečnostní chyby ve svých produktech. Současně vydal verzi 20250812 mikrokódů pro své procesory řešící 6 bezpečnostních chyb.

    Ladislav Hagara | Komentářů: 0
    Kolik tabů máte standardně otevřeno ve web prohlížeči?
     (52%)
     (19%)
     (4%)
     (5%)
     (2%)
     (1%)
     (1%)
     (16%)
    Celkem 402 hlasů
     Komentářů: 23, poslední 4.8. 13:01
    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: 330×
    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.