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 14:22 | Zajímavý článek

    Github publikoval Octoverse 2025 (YouTube), tj. každoroční přehled o stavu open source a veřejných softwarových projektů na GitHubu. Každou sekundu se připojil více než jeden nový vývojář. Nejpoužívanějším programovacím jazykem se stal TypeScript.

    Ladislav Hagara | Komentářů: 0
    dnes 09:55 | Komunita

    Kit je nový maskot webového prohlížeče Firefox.

    Ladislav Hagara | Komentářů: 12
    dnes 00:11 | Nová verze

    Mastodon (Wikipedie) - sociální síť, která není na prodej - byl vydán ve verzi 4.5. Přehled novinek s náhledy v oznámení na blogu.

    Ladislav Hagara | Komentářů: 1
    včera 23:55 | IT novinky

    Německo zvažuje, že zaplatí místním telekomunikačním operátorům včetně Deutsche Telekom, aby nahradili zařízení od čínské firmy Huawei. Náklady na výměnu by mohly přesáhnout dvě miliardy eur (bezmála 49 miliard Kč). Jeden scénář počítá s tím, že vláda na tento záměr použije prostředky určené na obranu či infrastrukturu.

    Ladislav Hagara | Komentářů: 1
    včera 18:00 | Komunita

    Po dvaceti letech skončil leader japonské SUMO (SUpport.MOzilla.org) komunity Marsf. Důvodem bylo nasazení sumobota, který nedodržuje nastavené postupy a hrubě zasahuje do překladů i archivů. Marsf zároveň zakázal použití svých příspěvků a dat k učení sumobota a AI a požádal o vyřazení svých dat ze všech učebních dat.

    karkar | Komentářů: 7
    včera 11:00 | IT novinky

    Úřad pro ochranu hospodářské soutěže zahajuje sektorové šetření v oblasti mobilních telekomunikačních služeb poskytovaných domácnostem v České republice. Z poznatků získaných na základě prvotní analýzy provedené ve spolupráci s Českým telekomunikačním úřadem (ČTÚ) ÚOHS zjistil, že vzájemné vztahy mezi operátory je zapotřebí detailněji prověřit kvůli možné nefunkčnosti některých aspektů konkurence na trzích, na nichž roste tržní podíl klíčových hráčů a naopak klesá význam nezávislých virtuálních operátorů.

    Ladislav Hagara | Komentářů: 16
    včera 10:55 | Humor

    Různé audity bezpečnostních systémů pařížského muzea Louvre odhalily závažné problémy v oblasti kybernetické bezpečnosti a tyto problémy přetrvávaly déle než deset let. Jeden z těchto auditů, který v roce 2014 provedla francouzská národní agentura pro kybernetickou bezpečnost, například ukázal, že heslo do kamerového systému muzea bylo „Louvre“. 😀

    Ladislav Hagara | Komentářů: 15
    včera 01:00 | Komunita

    Z upstreamu GNOME Mutter byl zcela odstraněn backend X11. GNOME 50 tedy poběží už pouze nad Waylandem. Aplikace pro X11 budou využívat XWayland.

    Ladislav Hagara | Komentářů: 19
    včera 00:00 | IT novinky

    Byl publikován plán na odstranění XSLT z webových prohlížečů Chrome a Chromium. S odstraněním XSLT souhlasí také vývojáři Firefoxu a WebKit. Důvodem jsou bezpečnostní rizika a klesající využití v moderním webovém vývoji.

    Ladislav Hagara | Komentářů: 1
    5.11. 15:55 | Nová verze

    Desktopové prostředí LXQt (Lightweight Qt Desktop Environment, Wikipedie) vzniklé sloučením projektů Razor-qt a LXDE bylo vydáno ve verzi 2.3.0. Přehled novinek v poznámkách k vydání.

    Ladislav Hagara | Komentářů: 1
    Jaké řešení používáte k vývoji / práci?
     (35%)
     (48%)
     (18%)
     (17%)
     (22%)
     (15%)
     (21%)
     (16%)
     (16%)
    Celkem 321 hlasů
     Komentářů: 15, poslední 2.11. 08:25
    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: 343×
    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.