Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. New to Qt.
Qt 6.11 is out! See what's new in the release blog

New to Qt.

Scheduled Pinned Locked Moved Unsolved General and Desktop
71 Posts 6 Posters 61.7k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I ijnuj.aicrag

    @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!

    JKSHJ Offline
    JKSHJ Offline
    JKSH
    Moderators
    wrote on last edited by
    #19

    @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.

    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

    I 1 Reply Last reply
    0
    • JKSHJ JKSH

      @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.

      I Offline
      I Offline
      ijnuj.aicrag
      wrote on last edited by
      #20

      @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?

      JKSHJ 1 Reply Last reply
      0
      • I ijnuj.aicrag

        @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?

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #21

        @ijnuj.aicrag said:

        @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?

        That's ok. x86 is 32-bit.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        0
        • B Offline
          B Offline
          bruakerche
          wrote on last edited by
          #22

          Would it be better if you could provide the source code of the project

          I 1 Reply Last reply
          0
          • B bruakerche

            Would it be better if you could provide the source code of the project

            I Offline
            I Offline
            ijnuj.aicrag
            wrote on last edited by
            #23

            @bruakerche http://sourceforge.net/p/simulide/svnrepo/HEAD/tree/ here's the link of the source code. Download snapshot.

            1 Reply Last reply
            0
            • I Offline
              I Offline
              ijnuj.aicrag
              wrote on last edited by
              #24

              Error became 1 when I changed something I don't know.

              Here's the syntax:
              c:\Qt\4.8.7\bin\rcc.exe -name application ..\simulide-svnrepo-27-trunk\application.qrc -o debug\qrc_application.cpp

              error: missing separator (did you mean TAB instead of 8 spaces?). Stop.

              1 Reply Last reply
              0
              • I Offline
                I Offline
                ijnuj.aicrag
                wrote on last edited by
                #25

                14:47:06: Running steps for project SimulIDE...
                14:47:06: Configuration unchanged, skipping qmake step.
                14:47:06: Starting: "C:\Users\irish_ElEveN\Desktop\mingw32\bin\mingw32-make.exe"
                C:/Users/irish_ElEveN/Desktop/mingw32/bin/mingw32-make -f Makefile.Debug
                mingw32-make[1]: Entering directory 'C:/Users/irish_ElEveN/Desktop/build-SimulIDE-Unnamed-Debug'
                Makefile.Debug:159: *** missing separator. Stop.
                mingw32-make[1]: Leaving directory 'C:/Users/irish_ElEveN/Desktop/build-SimulIDE-Unnamed-Debug'
                Makefile:34: recipe for target 'debug' failed
                mingw32-make: *** [debug] Error 2
                14:47:06: The process "C:\Users\irish_ElEveN\Desktop\mingw32\bin\mingw32-make.exe" exited with code 2.
                Error while building/deploying project SimulIDE (kit: Desktop Qt 4.8.7)
                When executing step "Make"
                14:47:06: Elapsed time: 00:00.

                1 Reply Last reply
                0
                • jsulmJ Offline
                  jsulmJ Offline
                  jsulm
                  Lifetime Qt Champion
                  wrote on last edited by
                  #26

                  Something is wrong in the Make file. What is in line 159 in Makefile.Debug?
                  Since the Make file is generated from you PRO file you should check it or post it here.

                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                  I 1 Reply Last reply
                  0
                  • jsulmJ jsulm

                    Something is wrong in the Make file. What is in line 159 in Makefile.Debug?
                    Since the Make file is generated from you PRO file you should check it or post it here.

                    I Offline
                    I Offline
                    ijnuj.aicrag
                    wrote on last edited by
                    #27

                    @jsulm $(CXX) -c $(CXXFLAGS) $(INCPATH) -o build\*.o src\*.cpp That's the syntax on line 159

                    1 Reply Last reply
                    0
                    • jsulmJ Offline
                      jsulmJ Offline
                      jsulm
                      Lifetime Qt Champion
                      wrote on last edited by
                      #28

                      Did you change the Make file manually?
                      Is that line indented using TAB or blanks?
                      Make file syntax requires TAB characters instead of blanks:
                      all:
                      DO SOMETHING
                      Before DO SOMETHING there must be TAB not blanks

                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                      I 1 Reply Last reply
                      0
                      • jsulmJ jsulm

                        Did you change the Make file manually?
                        Is that line indented using TAB or blanks?
                        Make file syntax requires TAB characters instead of blanks:
                        all:
                        DO SOMETHING
                        Before DO SOMETHING there must be TAB not blanks

                        I Offline
                        I Offline
                        ijnuj.aicrag
                        wrote on last edited by
                        #29

                        @jsulm I didn't change the Make file. The sources were fixed since I just downloaded the project. --- It is actually tabbed, 2 tabs. I don't get your point with DO SOMETHING.

                        1 Reply Last reply
                        0
                        • jsulmJ Offline
                          jsulmJ Offline
                          jsulm
                          Lifetime Qt Champion
                          wrote on last edited by
                          #30

                          error: missing separator (did you mean TAB instead of 8 spaces?). Stop.
                          Makefile.Debug:159: *** missing separator. Stop.

                          Well, this tells us that the Make file has wrong syntax (spaces instead of TAB).

                          https://forum.qt.io/topic/113070/qt-code-of-conduct

                          I 1 Reply Last reply
                          0
                          • jsulmJ jsulm

                            error: missing separator (did you mean TAB instead of 8 spaces?). Stop.
                            Makefile.Debug:159: *** missing separator. Stop.

                            Well, this tells us that the Make file has wrong syntax (spaces instead of TAB).

                            I Offline
                            I Offline
                            ijnuj.aicrag
                            wrote on last edited by ijnuj.aicrag
                            #31

                            @jsulm I think I fixed that, the only error I got now is, No rule to make target 'src/*.cpp', needed by 'build/*.o'. Stop.

                            15:27:30: Configuration unchanged, skipping qmake step.
                            15:27:30: Starting: "C:\Users\irish_ElEveN\Desktop\mingw32\bin\mingw32-make.exe" 
                            C:/Users/irish_ElEveN/Desktop/mingw32/bin/mingw32-make -f Makefile.Debug
                            mingw32-make[1]: Entering directory 'C:/Users/irish_ElEveN/Desktop/build-SimulIDE-Unnamed-Debug'
                            mingw32-make[1]: *** ****No rule to make target 'src/*.cpp', needed by 'build/*.o'.  Stop.****
                            mingw32-make[1]: Leaving directory 'C:/Users/irish_ElEveN/Desktop/build-SimulIDE-Unnamed-Debug'
                            mingw32-make: *** [debug] Error 2
                            Makefile:34: recipe for target 'debug' failed
                            15:27:30: The process "C:\Users\irish_ElEveN\Desktop\mingw32\bin\mingw32-make.exe" exited with code 2.
                            Error while building/deploying project SimulIDE (kit: Desktop Qt 4.8.7)
                            When executing step "Make"
                            15:27:30: Elapsed **bolded text**time: 00:00.```
                            1 Reply Last reply
                            0
                            • I Offline
                              I Offline
                              ijnuj.aicrag
                              wrote on last edited by
                              #32

                              I observed that 'src.cpp' isn't a .cpp file. It is just a folder containing sub folders for the sources of the project. What should I do to that?

                              1 Reply Last reply
                              0
                              • jsulmJ Offline
                                jsulmJ Offline
                                jsulm
                                Lifetime Qt Champion
                                wrote on last edited by
                                #33

                                There are two cpp files inside src directory, so it should be OK.
                                Replace all that *.cpp and *.h with complete file names like: src/mainwindow.cpp

                                https://forum.qt.io/topic/113070/qt-code-of-conduct

                                1 Reply Last reply
                                0
                                • jsulmJ Offline
                                  jsulmJ Offline
                                  jsulm
                                  Lifetime Qt Champion
                                  wrote on last edited by
                                  #34

                                  Add widgets to QT in pro file: QT += xml widgets
                                  Remove all prefixes in the Qt includes:
                                  #include <QtGui/QTreeView>
                                  should be
                                  #include <QTreeView>

                                  https://forum.qt.io/topic/113070/qt-code-of-conduct

                                  I 1 Reply Last reply
                                  0
                                  • jsulmJ jsulm

                                    Add widgets to QT in pro file: QT += xml widgets
                                    Remove all prefixes in the Qt includes:
                                    #include <QtGui/QTreeView>
                                    should be
                                    #include <QTreeView>

                                    I Offline
                                    I Offline
                                    ijnuj.aicrag
                                    wrote on last edited by
                                    #35

                                    @jsulm Where's Qt includes? is it INCLUDEPATH += src \

                                    1 Reply Last reply
                                    0
                                    • jsulmJ Offline
                                      jsulmJ Offline
                                      jsulm
                                      Lifetime Qt Champion
                                      wrote on last edited by
                                      #36

                                      I mean in your source code, in all places where you include Qt header files
                                      #include <QtGui/QTreeView>
                                      should be
                                      #include <QTreeView>

                                      https://forum.qt.io/topic/113070/qt-code-of-conduct

                                      I 1 Reply Last reply
                                      0
                                      • SGaistS Offline
                                        SGaistS Offline
                                        SGaist
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #37

                                        If the path are giving problems add $ $PWD (without the space obviously) before them e.g. INCLUDEPATH += $ $PWD/src (again without the space between the dollars the forum eats one if two are following each other)

                                        Interested in AI ? www.idiap.ch
                                        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                                        1 Reply Last reply
                                        0
                                        • jsulmJ jsulm

                                          I mean in your source code, in all places where you include Qt header files
                                          #include <QtGui/QTreeView>
                                          should be
                                          #include <QTreeView>

                                          I Offline
                                          I Offline
                                          ijnuj.aicrag
                                          wrote on last edited by
                                          #38

                                          @jsulm said:

                                          #include <QTreeView>

                                          I found one and replaced it. No news at all. Hmm..

                                          1 Reply Last reply
                                          0

                                          • Login

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • Users
                                          • Groups
                                          • Search
                                          • Get Qt Extensions
                                          • Unsolved