You are not logged in.

#1 2007-08-13 01:27:41

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

xconfig error; missing qt-mt

sudo make xconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/kconfig/conf.o
  HOSTCC  scripts/kconfig/kconfig_load.o
  HOSTCC  scripts/kconfig/kxgettext.o
  HOSTCC  scripts/kconfig/zconf.tab.o
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found


any way to fix this? Arch Don't Panic. System updated today 8-12-07

Offline

#2 2007-08-13 04:23:30

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: xconfig error; missing qt-mt

Try:

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig

before running make.

Last edited by skottish (2007-08-13 04:23:51)

Offline

#3 2007-08-13 15:33:18

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: xconfig error; missing qt-mt

thanks, but no.
xconfig worked before and

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/qt/lib/pkgconfig

is only a "kind" suggestion because now qt-mt is NOT in the path. Anyway, this is not working (because qt-mt is gone.)

I can use menuconfig of course, but I want to know what happened and why? It looks like xconfig (at least on my system) is broken. Last time I used it (with no issues)  was for 2.6.22.1.

Offline

#4 2007-08-13 15:48:57

tardo
Member
Registered: 2006-07-15
Posts: 526

Re: xconfig error; missing qt-mt

try

source /etc/profile.d/qt.sh
sudo make xconfig

Offline

#5 2007-08-13 16:49:34

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: xconfig error; missing qt-mt

thanks for your suggestion. Unfortunately it did not help.
I think that real culprit is here:

No package 'qt-mt' found

because xconfig worked before (so package was in the path), the only reason it stopped working now may be missing components.


below is a full error output:
sudo make xconfig
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
Package qt-mt was not found in the pkg-config search path.
Perhaps you should add the directory containing `qt-mt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'qt-mt' found
  HOSTCXX scripts/kconfig/qconf.o
scripts/kconfig/qconf.cc:6:26: error: qapplication.h: No such file or directory
scripts/kconfig/qconf.cc:7:25: error: qmainwindow.h: No such file or directory
scripts/kconfig/qconf.cc:8:22: error: qtoolbar.h: No such file or directory
scripts/kconfig/qconf.cc:9:21: error: qlayout.h: No such file or directory
scripts/kconfig/qconf.cc:10:19: error: qvbox.h: No such file or directory
scripts/kconfig/qconf.cc:11:23: error: qsplitter.h: No such file or directory
scripts/kconfig/qconf.cc:12:23: error: qlistview.h: No such file or directory
scripts/kconfig/qconf.cc:13:26: error: qtextbrowser.h: No such file or directory
scripts/kconfig/qconf.cc:14:23: error: qlineedit.h: No such file or directory
scripts/kconfig/qconf.cc:15:20: error: qlabel.h: No such file or directory
scripts/kconfig/qconf.cc:16:25: error: qpushbutton.h: No such file or directory
scripts/kconfig/qconf.cc:17:22: error: qmenubar.h: No such file or directory
scripts/kconfig/qconf.cc:18:25: error: qmessagebox.h: No such file or directory
scripts/kconfig/qconf.cc:19:21: error: qaction.h: No such file or directory
scripts/kconfig/qconf.cc:20:21: error: qheader.h: No such file or directory
scripts/kconfig/qconf.cc:21:25: error: qfiledialog.h: No such file or directory
scripts/kconfig/qconf.cc:22:25: error: qdragobject.h: No such file or directory
scripts/kconfig/qconf.cc:23:21: error: qregexp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:30:
scripts/kconfig/qconf.moc:10:25: error: qmetaobject.h: No such file or directory
scripts/kconfig/qconf.moc:13:34: error: private/qucomextra_p.h: No such file or directory
scripts/kconfig/qconf.moc:15:2: error: #error "This file was generated using the moc from 3.3.8. It"
scripts/kconfig/qconf.moc:16:2: error: #error "cannot be used with the include files from this version of Qt."
scripts/kconfig/qconf.moc:17:2: error: #error "(The moc has changed too much.)"
scripts/kconfig/qconf.moc:119:25: error: qobjectdefs.h: No such file or directory
scripts/kconfig/qconf.moc:120:28: error: qsignalslotimp.h: No such file or directory
In file included from scripts/kconfig/qconf.cc:28:
scripts/kconfig/qconf.h:12: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:12: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:14: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:14: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:16: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:16: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:18: error: 'QString' does not name a type
scripts/kconfig/qconf.h:20: error: 'QStringList' does not name a type
scripts/kconfig/qconf.h:23: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:23: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h: In member function 'bool QSettings::readBoolEntry(int) const':
scripts/kconfig/qconf.h:15: error: 'ok' was not declared in this scope
scripts/kconfig/qconf.h:15: error: 'FALSE' was not declared in this scope
scripts/kconfig/qconf.h:15: error: 'def' was not declared in this scope
scripts/kconfig/qconf.h: In member function 'int QSettings::readNumEntry(int) const':
scripts/kconfig/qconf.h:17: error: 'ok' was not declared in this scope
scripts/kconfig/qconf.h:17: error: 'FALSE' was not declared in this scope
scripts/kconfig/qconf.h:17: error: 'def' was not declared in this scope
scripts/kconfig/qconf.h: In member function 'bool QSettings::writeEntry(int)':
scripts/kconfig/qconf.h:24: error: 'TRUE' was not declared in this scope
scripts/kconfig/qconf.h: At global scope:
scripts/kconfig/qconf.h:37: error: ISO C++ forbids declaration of 'QValueList' with no type
scripts/kconfig/qconf.h:37: error: expected ';' before '<' token
scripts/kconfig/qconf.h:38: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:38: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:48: error: expected class-name before '{' token
scripts/kconfig/qconf.h:49: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
scripts/kconfig/qconf.h:50: error: expected ';' before 'typedef'
scripts/kconfig/qconf.h:61: error: 'QKeyEvent' has not been declared
scripts/kconfig/qconf.h:62: error: 'QMouseEvent' has not been declared
scripts/kconfig/qconf.h:63: error: 'QMouseEvent' has not been declared
scripts/kconfig/qconf.h:64: error: 'QMouseEvent' has not been declared
scripts/kconfig/qconf.h:65: error: 'QMouseEvent' has not been declared
scripts/kconfig/qconf.h:66: error: 'QFocusEvent' has not been declared
scripts/kconfig/qconf.h:67: error: 'QContextMenuEvent' has not been declared
scripts/kconfig/qconf.h:69: error: expected `:' before 'slots'
scripts/kconfig/qconf.h:70: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:70: error: ISO C++ forbids declaration of 'slots' with no type
scripts/kconfig/qconf.h:70: error: expected ';' before 'void'
scripts/kconfig/qconf.h:78: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:78: error: ISO C++ forbids declaration of 'signals' with no type
scripts/kconfig/qconf.h:78: error: expected ';' before 'void'
scripts/kconfig/qconf.h:102: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:102: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:123: error: 'QPixmap' does not name a type
scripts/kconfig/qconf.h:124: error: 'QPixmap' does not name a type
scripts/kconfig/qconf.h:125: error: 'QPixmap' does not name a type
scripts/kconfig/qconf.h:130: error: 'QColorGroup' does not name a type
scripts/kconfig/qconf.h:131: error: 'QColorGroup' does not name a type
scripts/kconfig/qconf.h:132: error: ISO C++ forbids declaration of 'QPopupMenu' with no type
scripts/kconfig/qconf.h:132: error: expected ';' before '*' token
scripts/kconfig/qconf.h: In member function 'ConfigView* ConfigList::parent() const':
scripts/kconfig/qconf.h:56: error: 'Parent' was not declared in this scope
scripts/kconfig/qconf.h:56: error: expected ';' before '::' token
scripts/kconfig/qconf.h:56: error: '::parent' has not been declared
scripts/kconfig/qconf.h: In member function 'ConfigItem* ConfigList::firstChild() const':
scripts/kconfig/qconf.h:96: error: 'Parent' was not declared in this scope
scripts/kconfig/qconf.h:96: error: expected ';' before '::' token
scripts/kconfig/qconf.h:96: error: '::firstChild' has not been declared
scripts/kconfig/qconf.h: In member function 'void ConfigList::addColumn(colIdx, int)':
scripts/kconfig/qconf.h:104: error: 'Parent' has not been declared
scripts/kconfig/qconf.h:104: error: 'label' was not declared in this scope
scripts/kconfig/qconf.h: In member function 'void ConfigList::removeColumn(colIdx)':
scripts/kconfig/qconf.h:111: error: 'Parent' has not been declared
scripts/kconfig/qconf.h: At global scope:
scripts/kconfig/qconf.h:139: error: expected class-name before '{' token
scripts/kconfig/qconf.h:142: error: expected `)' before '*' token
scripts/kconfig/qconf.h:152: error: expected `)' before '*' token
scripts/kconfig/qconf.h:176: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:176: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:180: error: 'QString' does not name a type
scripts/kconfig/qconf.h:184: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:184: error: ISO C++ forbids declaration of 'QPixmap' with no type
scripts/kconfig/qconf.h:188: error: ISO C++ forbids declaration of 'QPixmap' with no type
scripts/kconfig/qconf.h:188: error: expected ';' before '*' token
scripts/kconfig/qconf.h:192: error: expected `;' before 'void'
scripts/kconfig/qconf.h:192: error: 'QPainter' has not been declared
scripts/kconfig/qconf.h:192: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:192: error: ISO C++ forbids declaration of 'QColorGroup' with no type
scripts/kconfig/qconf.h: In constructor 'ConfigItem::ConfigItem(ConfigItem*, ConfigItem*, menu*, bool)':
scripts/kconfig/qconf.h:148: error: type 'QListViewItem' is not a direct base of 'ConfigItem'
scripts/kconfig/qconf.h: In member function 'ConfigList* ConfigItem::listView() const':
scripts/kconfig/qconf.h:166: error: incomplete type 'QListViewItem' used in nested name specifier
scripts/kconfig/qconf.h: In member function 'ConfigItem* ConfigItem::firstChild() const':
scripts/kconfig/qconf.h:170: error: incomplete type 'QListViewItem' used in nested name specifier
scripts/kconfig/qconf.h: In member function 'ConfigItem* ConfigItem::nextSibling() const':
scripts/kconfig/qconf.h:174: error: incomplete type 'QListViewItem' used in nested name specifier
scripts/kconfig/qconf.h: In member function 'void ConfigItem::setText(colIdx, int)':
scripts/kconfig/qconf.h:178: error: incomplete type 'QListViewItem' used in nested name specifier
scripts/kconfig/qconf.h:178: error: 'text' was not declared in this scope
scripts/kconfig/qconf.h: In member function 'void ConfigItem::setPixmap(colIdx, int)':
scripts/kconfig/qconf.h:186: error: incomplete type 'QListViewItem' used in nested name specifier
scripts/kconfig/qconf.h:186: error: 'pm' was not declared in this scope
scripts/kconfig/qconf.h: At global scope:
scripts/kconfig/qconf.h:200: error: expected class-name before '{' token
scripts/kconfig/qconf.h:201: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
scripts/kconfig/qconf.h:202: error: expected ';' before 'typedef'
scripts/kconfig/qconf.h:210: error: 'QKeyEvent' has not been declared
scripts/kconfig/qconf.h: In member function 'ConfigView* ConfigLineEdit::parent() const':
scripts/kconfig/qconf.h:207: error: 'Parent' was not declared in this scope
scripts/kconfig/qconf.h:207: error: expected ';' before '::' token
scripts/kconfig/qconf.h:207: error: '::parent' has not been declared
scripts/kconfig/qconf.h: At global scope:
scripts/kconfig/qconf.h:216: error: expected class-name before '{' token
scripts/kconfig/qconf.h:217: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
scripts/kconfig/qconf.h:218: error: expected ';' before 'typedef'
scripts/kconfig/qconf.h:220: error: expected `)' before '*' token
scripts/kconfig/qconf.h:229: error: expected `:' before 'slots'
scripts/kconfig/qconf.h:230: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:230: error: ISO C++ forbids declaration of 'slots' with no type
scripts/kconfig/qconf.h:230: error: expected ';' before 'void'
scripts/kconfig/qconf.h:235: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:235: error: ISO C++ forbids declaration of 'signals' with no type
scripts/kconfig/qconf.h:235: error: expected ';' before 'void'
scripts/kconfig/qconf.h:247: error: expected class-name before '{' token
scripts/kconfig/qconf.h:248: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
scripts/kconfig/qconf.h:249: error: expected ';' before 'typedef'
scripts/kconfig/qconf.h:251: error: expected `)' before '*' token
scripts/kconfig/qconf.h:254: error: expected `:' before 'slots'
scripts/kconfig/qconf.h:255: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:255: error: ISO C++ forbids declaration of 'slots' with no type
scripts/kconfig/qconf.h:255: error: expected ';' before 'void'
scripts/kconfig/qconf.h:257: error: expected ',' or '...' before '&' token
scripts/kconfig/qconf.h:257: error: ISO C++ forbids declaration of 'QString' with no type
scripts/kconfig/qconf.h:261: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:261: error: ISO C++ forbids declaration of 'signals' with no type
scripts/kconfig/qconf.h:261: error: expected ';' before 'void'
scripts/kconfig/qconf.h:267: error: 'QString' does not name a type
scripts/kconfig/qconf.h:268: error: 'QString' does not name a type
scripts/kconfig/qconf.h:270: error: ISO C++ forbids declaration of 'QPopupMenu' with no type
scripts/kconfig/qconf.h:270: error: expected ';' before '*' token
scripts/kconfig/qconf.h:271: error: 'QContextMenuEvent' has not been declared
scripts/kconfig/qconf.h:278: error: expected class-name before '{' token
scripts/kconfig/qconf.h:279: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
scripts/kconfig/qconf.h:280: error: expected ';' before 'typedef'
scripts/kconfig/qconf.h:282: error: expected `)' before '*' token
scripts/kconfig/qconf.h:284: error: expected `:' before 'slots'
scripts/kconfig/qconf.h:285: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:285: error: ISO C++ forbids declaration of 'slots' with no type
scripts/kconfig/qconf.h:285: error: expected ';' before 'void'
scripts/kconfig/qconf.h:289: error: ISO C++ forbids declaration of 'QLineEdit' with no type
scripts/kconfig/qconf.h:289: error: expected ';' before '*' token
scripts/kconfig/qconf.h:290: error: ISO C++ forbids declaration of 'QPushButton' with no type
scripts/kconfig/qconf.h:290: error: expected ';' before '*' token
scripts/kconfig/qconf.h:291: error: ISO C++ forbids declaration of 'QSplitter' with no type
scripts/kconfig/qconf.h:291: error: expected ';' before '*' token
scripts/kconfig/qconf.h:298: error: expected class-name before '{' token
scripts/kconfig/qconf.h:299: error: ISO C++ forbids declaration of 'Q_OBJECT' with no type
scripts/kconfig/qconf.h:301: error: expected ';' before 'static'
scripts/kconfig/qconf.h:305: error: expected `:' before 'slots'
scripts/kconfig/qconf.h:306: error: expected primary-expression before 'void'
scripts/kconfig/qconf.h:306: error: ISO C++ forbids declaration of 'slots' with no type
scripts/kconfig/qconf.h:306: error: expected ';' before 'void'
scripts/kconfig/qconf.h:322: error: 'QCloseEvent' has not been declared
scripts/kconfig/qconf.h:330: error: ISO C++ forbids declaration of 'QToolBar' with no type
scripts/kconfig/qconf.h:330: error: expected ';' before '*' token
scripts/kconfig/qconf.h:331: error: ISO C++ forbids declaration of 'QAction' with no type
scripts/kconfig/qconf.h:331: error: expected ';' before '*' token
scripts/kconfig/qconf.h:332: error: ISO C++ forbids declaration of 'QSplitter' with no type
scripts/kconfig/qconf.h:332: error: expected ';' before '*' token
scripts/kconfig/qconf.h:333: error: ISO C++ forbids declaration of 'QSplitter' with no type
scripts/kconfig/qconf.h:333: error: expected ';' before '*' token
In file included from scripts/kconfig/qconf.cc:30:
scripts/kconfig/qconf.moc:20: error: no 'const char* ConfigList::className() const' member function declared in class 'ConfigList'
scripts/kconfig/qconf.moc:25: error: expected constructor, destructor, or type conversion before '*' token
scripts/kconfig/qconf.moc:26: error: 'QMetaObjectCleanUp' does not name a type
scripts/kconfig/qconf.moc:29: error: 'QString' does not name a type
scripts/kconfig/qconf.moc:37: error: 'QString' does not name a type
scripts/kconfig/qconf.moc:48: error: expected constructor, destructor, or type conversion before '*' token
make[1]: *** [scripts/kconfig/qconf.o] Error 1
make: *** [xconfig] Error 2

Last edited by broch (2007-08-13 16:51:28)

Offline

#6 2007-08-13 17:44:11

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: xconfig error; missing qt-mt

Do you have qt installed? If yes, try reinstalling it.

Offline

#7 2007-08-13 19:22:20

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: xconfig error; missing qt-mt

thanks,
I will try to reinstall

Offline

#8 2007-08-14 02:16:29

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: xconfig error; missing qt-mt

Had a problem with qtparted this day and solved it with pacman-Syu about fifteen minutes ago...

There were 5 upgrades including qt which corrected my problem with qtparted which didn't open with the latest kernel.

Perhaps an upgrade will solve your qt problem?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#9 2008-01-23 18:22:06

broch
Banned
From: L.A. California
Registered: 2006-11-13
Posts: 975

Re: xconfig error; missing qt-mt

where did you find qt-devel?

Last edited by broch (2008-01-23 18:22:24)

Offline

Board footer

Powered by FluxBB