Unsolved New to Qt.
-
Hi, I am new here, I would just like to know if Qt C++ Softwares are modifiable, since I wanna know how Qt Programming is. How can I change/experiment things with GUI with addition to its codes?
-
Hi and welcome to the forum.
The Qt framework is both opensource as commercial software.
So if you want to learn by looking into the code, yes that's possible.We advice to follow some of the tutorials for beginners to get a first taste. On what OS do you want to work?
-
I'm working on my Windows 7. I'm having problem with compiling this project I found.
-
So You're a step further already then ;-)
We need some more information about your project to help you.
What errors do you have when compiling?
-
It says here,
overriding recipe for target 'build/*.0' ignoring old recipe for target 'build/*.0'
in Makefile.DebugI think I'm having problems with compiling. :\
-
can you show us all the errors? there must be more than 1 line...
-
Yes, it is more than 1 line.. actually the project has 19 errors.
C:\Users\irish_ElEveN\Desktop\build-SimulIDE-Desktop_Qt_5_5_1_MinGW_32bit-Debug\Makefile.Debug:182: warning: overriding recipe for target 'build/*.o'
line 182
C:\Users\irish_ElEveN\Desktop\build-SimulIDE-Desktop_Qt_5_5_1_MinGW_32bit-Debug\Makefile.Debug:179: warning: ignoring old recipe for target 'build/*.o'
line 179 and so on.. till 18th errorThe 19th error was
:-1: error: No rule to make target 'src/simulator/elements/processors/*.cpp', needed by 'build/*.o'. Stop.
-
-
@Eddy line 178
build/*.o: src/*.cpp
line 179$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\*.cpp
181
build/*.o: src/gui/*.cpp
182$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\gui\*.cpp
184
build/*.o: src/gui/circuitwidget/*.cpp
$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\gui\circuitwidget\*.cpp
187
build/*.o: src/gui/circuitwidget/components/*.cpp
188$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.osrc\gui\circuitwidget\components\*.cpp
190
build/*.o: src/gui/circuitwidget/components/mcu/*.cpp
191$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\gui\circuitwidget\components\mcu\*.cpp
193
build/*.o: src/gui/oscopewidget/*.cpp
194$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\gui\oscopewidget\*.cpp
196
build/*.o: src/gui/QPropertyEditor/*.cpp
197$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\gui\QPropertyEditor\*.cpp
199
build/*.o: src/simulator/*.cpp
200$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\simulator\*.cpp
202
build/*.o: src/simulator/elements/*.cpp
203$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\simulator\elements\*.cpp
205
build/*.o: src/simulator/elements/processors/*.cpp
206$(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\simulator\elements\processors\*.cpp
19th error is :-1: error: No rule to make target
'src/simulator/elements/processors/*.cpp', needed by 'build/*.o'
Stop. -
@ijnuj.aicrag
can you compile a simple application using Qt or do you have the same problems? -
@Eddy No, I actually want to run that project for school purposes. Please, help me :(
-
@ijnuj.aicrag said:
@Eddy No, I actually want to run that project for school purposes. Please, help me :(
Hi,
It's difficult to help you if we can't see the sources. Do you have an installed Qt Creator and are you able to run a simple example. We need to know to see if your environment is ok.
-
@Eddy You can find the source on sourceforge.
The thing is: it's a Qt 4 project which has seen its last commit 3 years ago. So the first thing that must done is to remove all modules from the includes and addQT += widgets
to the main .pro file and then the rest. -
I ran some examples on Qt Creator so I think it is definitely working. I'm just having trouble compiling the project.. Thanks.
-
@ijnuj.aicrag said:
@Eddy No, I actually want to run that project for school purposes. Please, help me :(
Are other people in your school using that project? Did they manage to compile it?
I ran some examples on Qt Creator so I think it is definitely working. I'm just having trouble compiling the project..
The project is written in Qt 4, so you will have better luck if you download Qt 4.
-
@JKSH I am just the one who's working on this project.
Yep, I gotta give it a try. Just having trouble with the version of the compiler for Qt 4.8.7. Is it okay to put MinGW-w64 32 bit on it?
-
@ijnuj.aicrag said:
@JKSH I am just the one who's working on this project.
Do you want to use SimulIDE, or modify SimulIDE?
Yep, I gotta give it a try. Just having trouble with the version of the compiler for Qt 4.8.7. Is it okay to put MinGW-w64 32 bit on it?
See https://wiki.qt.io/MinGW . Qt 4.8.7 uses the same compiler as Qt 4.8.6 (mingw-builds i686-4.8.2-release-posix-dwarf-rt_v3-rev3)
-
@JKSH I'm gonna modify it (change some objects on UI, etc) then I'm gonna use it, that's all.
Thank you so much for the link of the compiler you sent! -
@ijnuj.aicrag said:
@JKSH I'm gonna modify it (change some objects on UI, etc) then I'm gonna use it, that's all.
If you want to modify it to let other people use it, then I suggest you try to port it to Qt 5 (if you can). Qt 4 will no longer be supported after this year.
Thank you so much for the link of the compiler you sent!
You're welcome. I just realized that the page I posted had a broken download link. I've fixed it now.
-
@JKSH I've downloaded the (qt-opensource-windows-x86-vs2010-4.8.7.exe) to have Qt4 Version. Is it okay despite my system unit is on 32-bit?