Main Menu

Qt query

Started by yshah1996, March 02, 2018, 05:58:08 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

yshah1996

No rule to make target 'all' stop
what to do when i get this as an error?

Volker Dirr

What have you done so far? Did you saw the README file in the FET directory. I highly suggest to read that first.
What do you try to "make"? Qt or FET?
Did you extract the soure?
Are you in the correct folder?
Have you set the PATH?

yshah1996

I extracted it using 7zip and total commander.

Volker Dirr

Will be a long journey to teach you if you don't answer the questions. It will be nearly impossible to help you if you don't answer them. So once again (a bit more detailed, since it look like you didn't understood my questions):

1. What do you try to "make"? Qt or FET?
2. Did you extract the source? (if you extraced the executable only it won't help)
3. In which folder/directory are you?
4. Did you set the PATH to Qt? (if you want to work from everywhere. Or: If you want to work on FET only you can of course do the opposite and set the PATH to FET.)
5. What do you get if you write command "qmake -v" in the terminal?

yshah1996

I want to make changes to the entire project so
Firstly, i extracted the zip folder using 7zip and then with the help of total commander i got the entire file extracted.
Then i download qt and used this existing project and opened it from qt and tried to make changes and run but i am getting this in the output box.
So please me.

yshah1996

And which terminal should i write and what should i write ?
No i did not set the path in the qt as well.

Volker Dirr

Ah. Ok. You want to work with the creator. Looks like you are using the Windows version.

Difficult to say with seeing this screen shots only.

I guess you open only the user interface file instead of opening the "fet.pro" file. I highly suggest to read the Qt Documentation and start with a simple example file of that documentation.

yshah1996

Oh yes. I want to work with the creator and Yes, I am using the Windows version.
I have opened the UI files and please can you provide me how to specify the path of the qt and the documentation link.
I am getting error of make so please help me with it. I have uploaded the attachment as well.

Volker Dirr

it is wrong to open the ui files directly if you want to compile with Qt Creator. You can modify the ui files only with the  Qt Creator if you compile fet yourself from the terminal.
if you want to compile fet from the Qt Creator, than you need to open the fet.pro file. Than you can search the ui file IN THE PROJECT (not in your folder/directory), modify it and compile with Qt Creator.

Liviu Lalescu

Quote from: Volker Dirr on March 03, 2018, 10:25:32 AM
if you want to compile fet from the Qt Creator, than you need to open the fet.pro file.

I am not sure, but yshah1996 might need to open src/src.pro with Qt Creator.

Volker Dirr

oh.. sorry. i forgot the fet.pro was splitted. since i am always working with the terminal, not with Qt Creator. Yes, the src.pro should be better.

Volker Dirr

I just retried: it is working with fet.pro (and also with scr.pro) fine if you use Qt Creator.

yshah1996

I am getting this error.

Volker Dirr

I bet you forgot to install MinGW. You need to install it yourself OR if you install Qt you need to check the checkbox "Install MinGW" (or a similar phrase. I don't remember the exact phrase, but i remember that the checkbox is unchecked by default if you install Qt.)

Volker Dirr

Or try to select the MinGW compiler that you can see in the screenshot. (it has got an other icon; not a warning icon; just the screen icon. select it and press "ok")