q7basic 64 bit install

If you have problems with the installation, you are right here.

q7basic 64 bit install

Postby dcholmessr » Fri Jul 01, 2011 4:11 am

Hi Bernd

Debian Squeeze 64 bit

what am I doing wrong?


dave@dave1:~/q7basic/Q7Basic-pro$ qmake Q7Basic.pro
dave@dave1:~/q7basic/Q7Basic-pro$ make
g++ -c -pipe -g -w -O2 -D_REENTRANT -DQ7BGCC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I. -I/usr/include/qt3 -I./ -I./ -o ./Application.o Application.cpp
In file included from Application.cpp:14:
Q7BRuntime.h:19:17: error: QtGui: No such file or directory
Q7BRuntime.h:25:20: error: Phonon: No such file or directory
Q7BRuntime.h:27:20: error: QWebView: No such file or directory
Q7BRuntime.h:29:22: error: QSvgWidget: No such file or directory
Q7BRuntime.h:31:17: error: QtSql: No such file or directory
Q7BRuntime.h:33:24: error: QSvgRenderer: No such file or directory
Q7BRuntime.h:35:22: error: QUdpSocket: No such file or directory
Q7BRuntime.h:37:17: error: QHttp: No such file or directory
In file included from Application.cpp:19:
Q7BCompiler.h:19:23: error: QStringList: No such file or directory
Q7BCompiler.h:20:20: error: QProcess: No such file or directory
Q7BCompiler.h:21:19: error: QThread: No such file or directory
Q7BCompiler.h:22:16: error: QMap: No such file or directory
Q7BCompiler.h:23:30: error: QFileSystemWatcher: No such file or directory
In file included from Application.cpp:14:
Q7BRuntime.h:41: error: ‘QString’ does not name a type
Q7BRuntime.h:90: error: ‘QString’ has not been declared
Q7BRuntime.h:90: error: ‘QVariant’ has not been declared
Q7BRuntime.h:99: error: ‘QVariant’ does not name a type
Q7BRuntime.h:119: error: ‘qint32’ does not name a type
Q7BRuntime.h:120: error: ‘qint32’ does not name a type
Q7BRuntime.h:122: error: ISO C++ forbids declaration of ‘QVector’ with no type
Q7BRuntime.h:122: error: expected ‘;’ before ‘<’ token
Q7BRuntime.h:124: error: ISO C++ forbids declaration of ‘QVector’ with no type
Q7BRuntime.h:124: error: expected ‘;’ before ‘<’ token
Q7BRuntime.h:126: error: ISO C++ forbids declaration of ‘QMap’ with no type
Q7BRuntime.h:126: error: expected ‘;’ before ‘<’ token
Q7BRuntime.h: In constructor ‘Q7B_id::Q7B_id()’:
Q7BRuntime.h:55: error: ‘q7b_array’ was not declared in this scope
Q7BRuntime.h:56: error: ‘q7b_type’ was not declared in this scope
Q7BRuntime.h:57: error: ‘q7b_properties’ was not declared in this scope
Q7BRuntime.h:58: error: ‘q7b_array_count’ was not declared in this scope
Q7BRuntime.h: In constructor ‘Q7B_id::Q7B_id(const char*, void*)’:
Q7BRuntime.h:66: error: ‘q7b_array’ was not declared in this scope
Q7BRuntime.h:67: error: ‘q7b_type’ was not declared in this scope
Q7BRuntime.h:68: error: ‘q7b_properties’ was not declared in this scope
Q7BRuntime.h:69: error: ‘q7b_array_count’ was not declared in this scope
Q7BRuntime.h: In constructor ‘Q7B_id::Q7B_id(const char*, void*, bool)’:
Q7BRuntime.h:77: error: ‘q7b_array’ was not declared in this scope
Q7BRuntime.h:78: error: ‘q7b_type’ was not declared in this scope
Q7BRuntime.h:79: error: ‘q7b_properties’ was not declared in this scope
Q7BRuntime.h:80: error: ‘q7b_array_count’ was not declared in this scope
Q7BRuntime.h: In member function ‘void Q7B_id::setProperty(int, int)’:
Q7BRuntime.h:92: error: ‘q7b_properties’ was not declared in this scope
Q7BRuntime.h:93: error: expected type-specifier before ‘QMap’
Q7BRuntime.h:93: error: expected ‘;’ before ‘QMap’
Q7BRuntime.h:96: error: ‘q7b_properties’ was not declared in this scope
Q7BRuntime.h: At global scope:
Q7BRuntime.h:134: error: expected initializer before ‘&’ token
Q7BRuntime.h:136: error: expected initializer before ‘&’ token
Q7BRuntime.h:140: error: ISO C++ forbids declaration of ‘QByteArray’ with no type
Q7BRuntime.h:140: error: expected ‘;’ before ‘*’ token
Q7BRuntime.h:141: error: ISO C++ forbids declaration of ‘QBuffer’ with no type
Q7BRuntime.h:141: error: expected ‘;’ before ‘*’ token
Q7BRuntime.h:144: error: ‘QString’ does not name a type
Q7BRuntime.h:146: error: variable or field ‘Q7B_Control_constructor’ declared void
Q7BRuntime.h:146: error: ‘QWidget’ was not declared in this scope
Q7BRuntime.h:146: error: ‘o’ was not declared in this scope
Q7BRuntime.h:148: error: variable or field ‘Q7B_toXML2’ declared void
Q7BRuntime.h:148: error: ‘QXmlStreamWriter’ was not declared in this scope
Q7BRuntime.h:148: error: ‘xmlWriter’ was not declared in this scope
Q7BRuntime.h:148: error: ‘QSharedPointer’ was not declared in this scope
Q7BRuntime.h:148: error: expected primary-expression before ‘>’ token
Q7BRuntime.h:148: error: ‘Object’ was not declared in this scope
Q7BRuntime.h:150: error: ‘QString’ does not name a type
Q7BRuntime.h:152: error: ‘qreal’ does not name a type
Q7BRuntime.h:154: error: ‘qint64’ does not name a type
Q7BRuntime.h:168: error: ‘QString’ does not name a type
Q7BRuntime.h:170: error: ‘QString’ does not name a type
Q7BRuntime.h:172: error: ‘QString’ does not name a type
Q7BRuntime.h:174: error: ‘QString’ does not name a type
Q7BRuntime.h:176: error: expected initializer before ‘<’ token
Q7BRuntime.h:178: error: expected initializer before ‘<’ token
Q7BRuntime.h:180: error: ‘QObject’ has not been declared
Q7BRuntime.h:184: error: expected class-name before ‘{’ token
Q7BRuntime.h:187: error: ISO C++ forbids declaration of ‘QSharedPointer’ with no type
Q7BRuntime.h:187: error: expected ‘;’ before ‘<’ token
Q7BRuntime.h:193: error: expected ‘;’ before ‘static’
Q7BRuntime.h:193: error: ISO C++ forbids declaration of ‘QSharedPointer’ with no type
Q7BRuntime.h:193: error: expected ‘;’ before ‘<’ token
In file included from Application.cpp:14:
Q7BRuntime.h:224: error: expected ‘;’ before ‘Q7B_List’
Q7BRuntime.h:228: error: expected ‘)’ before ‘l’
Application.cpp:92: error: expected ‘}’ at end of input
In file included from Application.cpp:14:
Q7BRuntime.h:226: error: expected unqualified-id at end of input
make: *** [Application.o] Error 1
dave@dave1:~/q7basic/Q7Basic-pro$



Dave
Last edited by dcholmessr on Sat Nov 24, 2012 4:39 am, edited 2 times in total.
dcholmessr
 
Posts: 8
Joined: Tue May 11, 2010 4:22 am

Re: q7basic 64 bit install

Postby dcholmessr » Fri Jul 01, 2011 12:27 pm

Hi Bernd

I did a little searching and found out I had to use qmake-qt4 to compile . but when you run q7basic it keeps calling up qmake so i don't know if i have
to rename qmake-qt4 to qmake or find the version 3 of qmake and delete it.

Dave
dcholmessr
 
Posts: 8
Joined: Tue May 11, 2010 4:22 am

Re: q7basic 64 bit install

Postby dcholmessr » Fri Jul 01, 2011 8:19 pm

Hi Bernd

I had some qt-3 stuff remaining.
removed ,Removed qmake-qt4 and reinstalled ,that took care of that problem
also had to reinstall qt-sdk

now working

Dave
dcholmessr
 
Posts: 8
Joined: Tue May 11, 2010 4:22 am

Re: q7basic 64 bit install

Postby berndnoetscher » Tue Jul 05, 2011 5:46 pm

dcholmessr wrote:Hi Bernd

I had some qt-3 stuff remaining.
removed ,Removed qmake-qt4 and reinstalled ,that took care of that problem
also had to reinstall qt-sdk

now working

Dave


Hi Dave,

thanks for your report. Never tested in a 64 bit platform. :)
Will add an option for the qmake command in the IDE.
berndnoetscher
Site Admin
 
Posts: 344
Joined: Thu Mar 25, 2010 9:57 am

Re: q7basic 64 bit install

Postby dcholmessr » Sat Nov 24, 2012 4:29 am

Hi Bernd

Having troubles again.

I could not get make to work kept erring out .
I figured my qmake was old so deleted. but no help.

Down loaded newest QTSDK and tried to do everything from there .

looks like maybe the g++ compiler has errors or old .

Debian Squeeze
g++ compiler $:4.4.5-1


errors follow QTSDK

21:16:27: Running build steps for project Q7BCompiler...
21:16:27: Configuration unchanged, skipping qmake step.
21:16:27: Starting: "/usr/bin/make" -w
make: Entering directory `/home/dave/QtSDK/Q7BCompiler-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Release'
g++ -c -m64 -pipe -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I../Desktop/Qt/4.8.1/gcc/mkspecs/linux-g++-64 -I../Q7Basic_Source_Code -I../Desktop/Qt/4.8.1/gcc/include/QtCore -I../Desktop/Qt/4.8.1/gcc/include/QtGui -I../Desktop/Qt/4.8.1/gcc/include -I../Q7Basic_Source_Code -I. -I. -o ./_Q7BCompiler.o ../Q7Basic_Source_Code/_Q7BCompiler.cpp
{standard input}: Assembler messages:
{standard input}:1115143: Warning: end of file not at end of a line; newline inserted
{standard input}:1116121: Error: unknown pseudo-op: `.uleb'
g++.real: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make: Leaving directory `/home/dave/QtSDK/Q7BCompiler-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Release'
make: *** [_Q7BCompiler.o] Error 1
21:53:21: The process "/usr/bin/make" exited with code 2.
Error while building project Q7BCompiler (target: Desktop)
When executing build step 'Make'


Q7Basic.pro

g++ -c -m64 -pipe -O2 -D_REENTRANT -w -DQ7BASIC -DQT_NO_DEBUG -DQT_DECLARATIVE_LIB -DQT_WEBKIT_LIB -DQT_PHONON_LIB -DQT_SVG_LIB -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../QtSDK/Desktop/Qt/4.8.1/gcc/mkspecs/linux-g++-64 -I../../QtSDK/Q7Basic_Source_Code -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtUiTools -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtCore -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtNetwork -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtGui -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtXml -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtSql -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtSvg -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/phonon -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtWebKit -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include/QtDeclarative -I../../QtSDK/Desktop/Qt/4.8.1/gcc/include -I../../QtSDK/Q7Basic_Source_Code -I/home/dave/QtSDK/Desktop/Qt/4.8.1/gcc/include/phonon_compat -I. -I. -I. -o ./Global.o ../../QtSDK/Q7Basic_Source_Code/Global.cpp
In file included from ../../QtSDK/Q7Basic_Source_Code/Global.cpp:59:
../../QtSDK/Q7Basic_Source_Code/Q7BCompiler.h:18:23: error: ../Global.h: No such file or directory
make: *** [Global.o] Error 1
make: Leaving directory `/home/dave/Q7basic2/Q7Basic-build-desktop-Desktop_Qt_4_8_1_for_GCC__Qt_SDK__Release'
22:32:00: The process "/usr/bin/make" exited with code 2.
Error while building project Q7Basic (target: Desktop)
When executing build step 'Make

Open for Suggestions


Dave
dcholmessr
 
Posts: 8
Joined: Tue May 11, 2010 4:22 am


Return to Installation

Who is online

Users browsing this forum: No registered users and 1 guest

cron