Author Topic: QT installed but problems with compiler  (Read 25951 times)

deetee

  • Guest
QT installed but problems with compiler
« on: May 20, 2006, 08:34:12 pm »
hello,

i am david from germany and i try to tell you my problem in english ;)

I installed the QT software and wanted to compile Hello World application follows

Code
    #include <QApplication>
    #include <QPushButton>
    using namespace std;

    int main(int argc, char *argv[])
    {
        QApplication app(argc, argv);

        QPushButton hello("Hello world!");
        hello.resize(100, 30);

        hello.show();
        return app.exec();
    }

Compiler does not find the includes -> "no such file or directory"

Where do i have to change which preferences? :-)

Hope somebody knows what i am writing about *g

Offline Michael

  • Lives here!
  • ****
  • Posts: 1608
Re: QT installed but problems with compiler
« Reply #1 on: May 20, 2006, 09:58:10 pm »
hello,

i am david from germany and i try to tell you my problem in english ;)

Hello David.

Your english is ok :).

I installed the QT software and wanted to compile Hello World application follows

Compiler does not find the includes -> "no such file or directory"

Where do i have to change which preferences? :-)

Hope somebody knows what i am writing about *g

Concerning Qt, there are quite a few useful posts in the forum. Try to search and if you still have problems, then post. But do not forget the C::B revision, compiler you are using and OS.

Best wishes,
Michael

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #2 on: May 21, 2006, 01:38:32 am »
hi Michael,

well i found a lot of posts about my problem especially helpful was yop's plugin. I installed a nightly build release, downloaded wxWidgets from sourceforge and ran the qtworkbench project file of yop's plugin.
I set the global variables cb and wx on

cb = D:\Programme\CodeBlocks\src (also D:\Programme\CodeBlocks but both didn't work)
wx = D:\Programme\QT\wxWidgets-2.6.3

I tried to build the project and got the following build log:

Quote
-------------- Build: default in QtWorkbench ---------------
Compiling: src\qtwprogenerator.cpp
cc1plus.exe: sdk.h: No such file or directory
src\qtwprogenerator.cpp:9:21: manager.h: No such file or directory
src\qtwprogenerator.cpp:10:27: macrosmanager.h: No such file or directory
src\qtwprogenerator.cpp:11:28: messagemanager.h: No such file or directory
In file included from D:/Programme/QT/wxWidgets-2.6.3/include/wx/defs.h:21,
                 from D:/Programme/QT/wxWidgets-2.6.3/include/wx/object.h:24,
                 from D:/Programme/QT/wxWidgets-2.6.3/include/wx/tokenzr.h:19,
                 from src\qtwprogenerator.cpp:12:
D:/Programme/QT/wxWidgets-2.6.3/include/wx/platform.h:190:22: wx/setup.h: No such file or directory
In file included from D:/Programme/QT/wxWidgets-2.6.3/include/wx/platform.h:271,
                 from D:/Programme/QT/wxWidgets-2.6.3/include/wx/defs.h:21,
                 from D:/Programme/QT/wxWidgets-2.6.3/include/wx/object.h:24,
                 from D:/Programme/QT/wxWidgets-2.6.3/include/wx/tokenzr.h:19,
                 from src\qtwprogenerator.cpp:12:
D:/Programme/QT/wxWidgets-2.6.3/include/wx/chkconf.h:84:9: #error "wxUSE_DYNLIB_CLASS must be defined."
D:/Programme/QT/wxWidgets-2.6.3/include/wx/chkconf.h:92:9: #error "wxUSE_EXCEPTIONS must be defined."
D:/Programme/QT/wxWidgets-2.6.3/include/wx/chkconf.h:100:9: #error "wxUSE_FILESYSTEM must be defined."
...
...
...

I think i need a step by step teaching list *g
Could anyone help me please?

EDIT
i need to say it's 2:00 a.m. in Germany now ;)
« Last Edit: May 21, 2006, 01:57:33 am by deetee »

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #3 on: May 21, 2006, 03:22:48 pm »
hmmm ok, i will tell you my steps i did:

- installed Qt 4.1.3
- ran "Qt build debug libraries"
- installed C::B nightly build of 20th march
- installed yop's plugin QTWorkbench with the paths above for cb and wx

and that's it.

I try to build the QTWorkbench project and following files are missing:

- manager.h
- macrosmanager.h
- messagemanager.h

all included in src/qtwprogenerator.cpp.

And there is something strange with the wxWidgets-2.6.3\include\msvc\wx\setup.h included in wxWidgets-2.6.3\include\wx\platform.h (190) but a commentary in setup.h says:

// Purpose:     wrapper around the real wx/setup.h for Visual C++

and i don't use Visual C++ and there is non setup.h in the include/wx/ directory...but a setup_inc.h and a setup_redirect.h.


Maybe someone can tell me his preferences he did do?




Offline Defender

  • Multiple posting newcomer
  • *
  • Posts: 49
Re: QT installed but problems with compiler
« Reply #4 on: May 21, 2006, 03:38:08 pm »
Well, I don't use Qt, but it seems, that your include directories aren't set up right.
Could you try this include configuration:
include dirs:
$(#WX.include)
$(#WX.lib)\gcc_dll\msw$(WX_SUFFIX)
$(#WX)\contrib\include

Where WX_SUFFIX = u for Unicode, d for Debug

Regards, Defender.

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #5 on: May 21, 2006, 04:56:48 pm »
Let me update from svn to see what's going on
Life would be so much easier if we could just look at the source code.

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #6 on: May 21, 2006, 05:09:51 pm »
Nope, no problems here. Let me sum up what you 'll need:
- Code::Blocks latest sources
- wxWidgets 2.6.2 (or 3) build as suggested in the wiki.
- a zip utility in your path as suggested in the wiki.
Unzip the plugin sources in the contrib plugins path inside codeblocks sources. Open the codeblocks project, build. Open the qtworkbench project from the contrib plugins directory, build. Run update.bat. Run codeblocks.exe from the output dir. Voila.
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #7 on: May 21, 2006, 06:49:46 pm »
thx at u 2. I will try it, yop.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #8 on: May 27, 2006, 03:27:37 pm »
Quote
- wxWidgets 2.6.2 (or 3) build as suggested in the wiki.

that's the point. I don't know how to build wxWidgets. I read something about makefiles different for each compiler in build/msw/, but how can i run a makefile with codeblocks?

It seems i am too stupid  :?

Offline Ceniza

  • Developer
  • Lives here!
  • *****
  • Posts: 1441
    • CenizaSOFT
Re: QT installed but problems with compiler
« Reply #9 on: May 27, 2006, 04:03:48 pm »
deetee: Take a look here.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #10 on: May 27, 2006, 04:50:56 pm »
thanks a lot! It's compililng wxWidgets right now, i am so happy about that...

i will be right back if it's done.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #11 on: May 27, 2006, 06:38:10 pm »
No, it doesn't work yet, but wxWidgets were successfully compiled. I set the variables like these settings http://wiki.codeblocks.org/index.php?title=Global_compiler_variables but when i compile the qtworkbench project of yop's plugin i get the same error message like before.

Maybe, anyone can tell me his variables settings? Or any other ideas?


Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #12 on: May 27, 2006, 07:12:25 pm »
The cb global variable should point to the src directory of the codeblocks sources. My two global vars (to give you a hint) are:
Variable: cb Base Directory: C:\Workbench\codeblocks\src
Variable: wx Base Directory: C:\Devel\wxWidgets-2.6.3
Trust me you don't need anything else.

If you havent done this already you should unpack the archive you downloaded in the contrib plugins folder of the codeblocks sources. Again as a hint in my computer that is: C:\Workbench\codeblocks\src\plugins\contrib
« Last Edit: May 27, 2006, 07:16:23 pm by yop »
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #13 on: May 27, 2006, 07:40:22 pm »
thank you for reply, but it doesn't work. Ok, i will tell you my settings:









@yop
i downloaded a zip archive named qtworkbench-0.4.0.alpha and inside of this archive are 2 direcotries res and src and 3 files (qtworkbench, qtworkbench-linux, qtworkbench.layout)

There isn't a directory src in the codeblocks base directory, like your desription. Or did you mean the src directory of your plugin? How must the path be then?
« Last Edit: May 27, 2006, 07:48:06 pm by deetee »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #14 on: May 27, 2006, 09:03:03 pm »
OK let's take it one by one:
* In envinronment vars you only need QTDIR and PATH (that is if the Qt installation hasn't arready set them up for you, which is generally the case).
* In the global variables editor you don't really need to set the INCLUDE and LIB variables for either wx or cb global variables
* You don't need to add anything in the global compiler settings
* You don't need the WX and CB Custom variables in compiler's global settings.
* Inside the zip file you mention there is a directory named qtworkbench and under that you can find the two directories you mention. So under the contrib plugins directory you should have the qtworkbench folder.
* Do you *actually* have the latest codeblocks sources? That means have you made an svn checkout from the project's repository at Berlios?
Note: I just downloaded the zip file, extracted it, updated to the latest c::b revision and built it without any problems.
Life would be so much easier if we could just look at the source code.

lfm

  • Guest
Re: QT installed but problems with compiler
« Reply #15 on: May 28, 2006, 02:36:01 am »
Compiler does not find the includes -> "no such file or directory"

Where do i have to change which preferences? :-)

Hope somebody knows what i am writing about *g
The template of QT project has some mistakes, this file in %CB%/share/codeblocks/templates/qt.cbp, looks like:
Code
......
<Compiler>
<Add directory="$QTDIR/include"/>
<Add directory="$QTDIR/include/Qt"/>
<Add directory="$QTDIR/include/Qt/ActiveQt"/>
<Add directory="$QTDIR/include/Qt/Qt3Support"/>
<Add directory="$QTDIR/include/Qt/QtAssistant"/>
<Add directory="$QTDIR/include/Qt/QtCore"/>
<Add directory="$QTDIR/include/Qt/QtDesigner"/>
<Add directory="$QTDIR/include/Qt/QtGui"/>
<Add directory="$QTDIR/include/Qt/QtMotif"/>
<Add directory="$QTDIR/include/Qt/QtNetwork"/>
<Add directory="$QTDIR/include/Qt/QtNsPlugin"/>
<Add directory="$QTDIR/include/Qt/QtOpenGL"/>
<Add directory="$QTDIR/include/Qt/QtSql"/>
<Add directory="$QTDIR/include/Qt/QtXml"/>
<Add option=""/>
</Compiler>
<Linker>
<Add library="libQt3Support4.a"/>
<Add library="libQtAssistantClient.a"/>
<Add library="libQtCore4.a"/>
<Add library="libQtDesigner4.a"/>
<Add library="libQtDesignerComponents4.a"/>
<Add library="libQtGui4.a"/>
<Add library="libqtmain.a"/>
<Add library="libQtNetwork4.a"/>
<Add library="libQtOpenGl4.a"/>
<Add library="libQtSql4.a"/>
<Add library="libQtXml4.a"/>
<Add directory="$QTDIR/lib"/>
<Add option=""/>
</Linker>
......

Please edit it to follows, then create new project from the qt template:
Code
......
<Compiler>
<Add directory="$(QTDIR)/include"/>
<Add directory="$(QTDIR)/include/Qt"/>
<Add directory="$(QTDIR)/include/ActiveQt"/>
<Add directory="$(QTDIR)/include/Qt3Support"/>
<Add directory="$(QTDIR)/include/QtAssistant"/>
<Add directory="$(QTDIR)/include/QtCore"/>
<Add directory="$(QTDIR)/include/QtDesigner"/>
<Add directory="$(QTDIR)/include/QtGui"/>
<Add directory="$(QTDIR)/include/QtMotif"/>
<Add directory="$(QTDIR)/include/QtNetwork"/>
<Add directory="$(QTDIR)/include/QtNsPlugin"/>
<Add directory="$(QTDIR)/include/QtOpenGL"/>
<Add directory="$(QTDIR)/include/QtSql"/>
<Add directory="$(QTDIR)/include/QtXml"/>
<Add option=""/>
</Compiler>
<Linker>
<Add library="libQt3Support4.a"/>
<Add library="libQtAssistantClient.a"/>
<Add library="libQtCore4.a"/>
<Add library="libQtDesigner4.a"/>
<Add library="libQtDesignerComponents4.a"/>
<Add library="libQtGui4.a"/>
<Add library="libqtmain.a"/>
<Add library="libQtNetwork4.a"/>
<Add library="libQtOpenGl4.a"/>
<Add library="libQtSql4.a"/>
<Add library="libQtSvg4.a"/>
<Add library="libQtTest4.a"/>
<Add library="libQtUiTools.a"/>
<Add library="libQtXml4.a"/>
<Add directory="$(QTDIR)/lib"/>
<Add option=""/>
</Linker>
......
« Last Edit: May 28, 2006, 02:47:22 am by lfm »

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #16 on: May 28, 2006, 02:27:46 pm »
thank you Ifm, but there are no changes after that.

@yop
I have a path like this now:

D:\Programme\CodeBlocks\src\plugins\contrib\qtworkbench

and it doesn't work.

But there is also something strange, i can't find (with search) files missed by compiler:
manager.h
macrosmanager.h
messagemanager.h
sdk.h
compilerfactory.h
settings.h
cbproject.h
compiler.h
cbplugin.h
sdk_events.h

these files i aren't in the codeblocks, QT or wxWidgets (sub)folders. Where do they have to be?

build log:


My cb version:


« Last Edit: May 28, 2006, 02:44:26 pm by deetee »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #17 on: May 28, 2006, 02:42:56 pm »
And there are no messagemanager.h and macrosmanager.h in D:\Programme\CodeBlocks\src\sdk\ ?
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #18 on: May 28, 2006, 02:51:22 pm »
unfortunately not.

i will try a new installation with new downloaded files.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #19 on: May 28, 2006, 03:23:42 pm »
so, here are my steps:

- codeblocks-1.0-rc1_mingw.exe downloaded from sourceforge
- ran the exe file
- downloaded latest nightly build release for Windows from http://forums.codeblocks.org/index.php?topic=3214.0
- unpacked the .7z file and copied the files to the cb folder.
- copied wxmsw26u_gcc_cb.dll to cb folder

Note:
there is no src folder in CodeBlocks/ (also no src/sdk/ subfolder)
there aren't files like messagemanager.h or macrosmanager.h in all subfolders of codeblocks

@yop
Where do i have to copy your plugin folders/files?

and any other ideas, because of the missing files?


« Last Edit: May 28, 2006, 03:28:04 pm by deetee »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #20 on: May 28, 2006, 03:32:13 pm »
This is third that I 'm telling you that you need the c::b sources, not just the binary night build. You can see how to download the source code in any of the following links:
http://www.codeblocks.org/source_code.shtml
http://wiki.codeblocks.org/index.php?title=Building_From_Source#MS_Windows
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #21 on: May 28, 2006, 03:55:31 pm »
ok my fault, sorry.

next steps i did:

- svn checkout
- copied the folders (src, debian, docs) and files i got from the checkout to codeblocks directory
- copied yop's plugin folder qtworkbench to D:\Programme\CodeBlocks\src\plugins\contrib\
- set the environment/global variables cb and wx
- tried to build the qtworkbench project and got an error:




yop, do you know what to do?

Offline TDragon

  • Lives here!
  • ****
  • Posts: 943
    • TDM-GCC
Re: QT installed but problems with compiler
« Reply #22 on: May 28, 2006, 04:11:46 pm »
Compile Code::Blocks from sources, as according to the directions in the second link yop provided (do the Unicode build). The QtWorkbench plugin may be compiled in the last step (compiling addl./contrib plugins).
https://jmeubank.github.io/tdm-gcc/ - TDM-GCC compiler suite for Windows (GCC 9.2.0 2020-03-08, 32/64-bit, no extra DLLs)

lfm

  • Guest
Re: QT installed but problems with compiler
« Reply #23 on: May 28, 2006, 04:23:41 pm »
@yop
Where do i have to copy your plugin folders/files?
and any other ideas, because of the missing files?
Why are you need yop's plugin?
I have not installed yop's plugin, but all seems to fine, my steps ( WinXP + QT4):
- install Qt, and set system enviroment variables
- download(and install) MinGW from http://www.mingw.org
- download latest nightly build release (not need source): http://download.berlios.de/codeblocks/CB_20060527_rev2511_win32.7z
- download wxWidget dll : http://download.berlios.de/codeblocks/wxmsw26u_gcc_cb.7z
- unpack above two .7z file and copied the files to the cb folder.
- edit the file: %CB%/share/codeblocks/templates/qt.cbp
Then create "hello world" Qt program from Qt template, build and run, OK!

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #24 on: May 28, 2006, 05:00:36 pm »
ok my fault, sorry...
Don't worry about it, it also took me a few days to get comfortable with wxWidgets and Code::Blocks sdk, as with any other toolkit/sdk around. The main thing is to get it to work.
Compile Code::Blocks from sources, as according to the directions in the second link yop provided (do the Unicode build). The QtWorkbench plugin may be compiled in the last step (compiling addl./contrib plugins).
Exactly:
Nope, no problems here. Let me sum up what you 'll need:
- Code::Blocks latest sources
- wxWidgets 2.6.2 (or 3) build as suggested in the wiki.
- a zip utility in your path as suggested in the wiki.
Unzip the plugin sources in the contrib plugins path inside codeblocks sources. Open the codeblocks project, build. Open the qtworkbench project from the contrib plugins directory, build. Run update.bat. Run codeblocks.exe from the output dir. Voila.
@lfm: I guess he doesn't just need a hello world example, else why would he get in all this trouble ;)
« Last Edit: May 28, 2006, 05:06:29 pm by yop »
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #25 on: May 28, 2006, 05:07:59 pm »
TDragon you're right, thank you.
Ifm, i will try your way next time.

my steps:

- codeblocks-1.0-rc1_mingw.exe downloaded from sourceforge
- ran the exe file
- downloaded latest nightly build release for Windows from http://forums.codeblocks.org/index.php?topic=3214.0
- unpacked the .7z file and copied the files to the cb folder.
- copied wxmsw26u_gcc_cb.dll to cb folder
- svn checkout
- copied the folders (src, debian, docs) and files i got from the checkout to codeblocks directory
- copied yop's plugin folder qtworkbench to D:\Programme\CodeBlocks\src\plugins\contrib\
- set the environment/global variables cb and wx

- built the codeblocks project (src/CodeBlocks.cbp)
- built yop's plugin qtworkbench.cbp
- ran update.bat

but i can't build the QT hello world example:


Which variables i forgot?
« Last Edit: May 28, 2006, 05:31:37 pm by deetee »

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #26 on: May 28, 2006, 05:29:54 pm »
You didn't build Code::Blocks from source but this might work:
Close Code::Blocks, in [CodeBlocks dir]\devel\share\ copy the CodeBlocks folder in [CodeBlocks dir]\share\ and run Code::Blocks again. You should see a menu item named QtWorkbench. Select QMake and Build from there.

The best choise though would be to actually follow the steps in the wiki to build codeblocks and the instructions from the plugin post to build the plugin.
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #27 on: May 28, 2006, 06:04:57 pm »
If i copy like you say by starting cb again i get an error that wxmsw26u_gcc_custom.dll was not found.


Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #28 on: May 28, 2006, 06:10:22 pm »
You can copy that from your wxWidgets dir (it should be somewhere under the lib dir). But we are just making a mess. Why don't you just build Code::Blocks and the plugins as everyone here suggested in the first place?
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #29 on: May 28, 2006, 06:23:59 pm »
ok, i will do a new installation. It can't be so complicated.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #30 on: May 28, 2006, 09:51:46 pm »
It still does not work...here are my steps:

- codeblocks-1.0-rc1_mingw.exe downloaded from sourceforge
- ran the exe file
- copied the folders (src, debian, docs) and files of the cb source to codeblocks directory
- downloaded latest nightly build release for Windows from http://forums.codeblocks.org/index.php?topic=3214.0
- unpacked the .7z file and copied the files to the cb folder.
- copied wxmsw26u_gcc_cb.dll to cb folder
- compiled wxWidgets in Unicode mode
- compiled the codeblocks project (src/CodeBlocks.cbp)
- ran update.bat
- edited the file: %CB%/share/codeblocks/templates/qt.cbp like Ifm said (without this step it also does not work)

If i want to compile the simple hello world program of Qt the included Qt headers won't be found. (No such file or directory)

then i installed yop's plugin

- copied the qtworkbench folder inside D:\Programme\CodeBlocks\src\plugins\contrib
- compiled the project
- ran update.bat

and nothing has changed. Hm, any ideas?


Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #31 on: May 28, 2006, 10:05:09 pm »
Do you have this?

[attachment deleted by admin]
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #32 on: May 28, 2006, 10:21:16 pm »
unfortunately not!

Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #33 on: May 28, 2006, 10:50:16 pm »
Check your private messages.
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #34 on: May 28, 2006, 11:16:19 pm »
yop, now i have got the menue item Qtworkbench but there is no reaction, if i want to build a project for example.

lfm

  • Guest
Re: QT installed but problems with compiler
« Reply #35 on: May 29, 2006, 03:21:59 am »
It still does not work...here are my steps:

- codeblocks-1.0-rc1_mingw.exe downloaded from sourceforge
- ran the exe file
- copied the folders (src, debian, docs) and files of the cb source to codeblocks directory
- downloaded latest nightly build release for Windows from http://forums.codeblocks.org/index.php?topic=3214.0
- unpacked the .7z file and copied the files to the cb folder.
- copied wxmsw26u_gcc_cb.dll to cb folder
- compiled wxWidgets in Unicode mode
- compiled the codeblocks project (src/CodeBlocks.cbp)
- ran update.bat
- edited the file: %CB%/share/codeblocks/templates/qt.cbp like Ifm said (without this step it also does not work)

If i want to compile the simple hello world program of Qt the included Qt headers won't be found. (No such file or directory)

I guess that you have not set the system enviroment variables ( QTDIR ), do it.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #36 on: May 29, 2006, 01:11:49 pm »
I have set QTDIR (path: D:\Programme\QT\4.1.3) in cb environment variables and in the Windows environment variables.


Offline yop

  • Regular
  • ***
  • Posts: 387
Re: QT installed but problems with compiler
« Reply #37 on: May 29, 2006, 08:04:49 pm »
yop, now i have got the menue item Qtworkbench but there is no reaction, if i want to build a project for example.
See the picture in my attachment some posts above. Press the QMake - Build entry. What happens?

Better yet, get the project I attach and build it (it's from the Qt examples). See the options in QtWorkbench->Project Qmake Options to get an idea. The project has many targets and uses everything (sources, resources, user interface files), and outputs everything (app, plugin, dll) so it covers pretty much anything you could possibly need. Take this as a guide ;)

[attachment deleted by admin]
« Last Edit: May 29, 2006, 08:15:12 pm by yop »
Life would be so much easier if we could just look at the source code.

deetee

  • Guest
Re: QT installed but problems with compiler
« Reply #38 on: May 29, 2006, 08:07:41 pm »
nothing happens, yop.