Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Deployment error in Mac OSX
Forum Updated to NodeBB v4.3 + New Features

Qt Deployment error in Mac OSX

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
11 Posts 3 Posters 876 Views 1 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    This currently has nothing to do with deployment.

    Can you show your .pro file ?

    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
    • V Offline
      V Offline
      VinayP
      wrote on last edited by
      #3

      Hi Thank you for the reply. Please find the .pro below.

      QT Config

      TEMPLATE = app

      TARGET = WirelessConfigurator

      CONFIG += embed_manifest_exe

      CONFIG += app_bundle

      #ICON = icon.icns

      QT += quick

      QT += core

      QT += gui

      QT += widgets

      #CONFIG += app_bundle

      CONFIG += c++11

      CONFIG(debug, debug|release) {

      } else {

      }

      INCLUDEPATH += classes/include/unix/

      #LIBS += -Lclasses/lib/mac64/ -lusb_control

      LIBS += -Lclasses/lib/mac64/ -lftd2xx

      The following define makes your compiler emit warnings if you use

      any Qt feature that has been marked deprecated (the exact warnings

      depend on your compiler). Refer to the documentation for the

      deprecated API to know how to port your code away from it.

      #DEFINES += QT_DEPRECATED_WARNINGS

      You can also make your code fail to compile if it uses deprecated APIs.

      In order to do so, uncomment the following line.

      You can also select to disable deprecated APIs only up to a certain version of Qt.

      #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0

      SOURCES += \

          DropdownModel.cpp \
      	config.cpp \
         frequency.cpp \
          serial.cpp \
          usbd.cpp \
          wfp.cpp \
      
          main.cpp \\
      

      RESOURCES += qml.qrc

      Additional import path used to resolve QML modules in Qt Creator's code model

      QML_IMPORT_PATH =

      Additional import path used to resolve QML modules just for Qt Quick Designer

      QML_DESIGNER_IMPORT_PATH =

      Default rules for deployment.

      qnx: target.path = /tmp/$${TARGET}/bin

      else: unix:!android: target.path = /opt/$${TARGET}/bin

      !isEmpty(target.path): INSTALLS += target

      HEADERS += \

      DropdownItem.h \

      DropdownModel.h \
      
      classes/FrequencyMaskingModel.h \
      
      config.h \
      
      frequency\
      
      serial\
      usbconfig.h \
      
      usbd.h \\
      

      DISTFILES +=

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

        You seem to have files without extensions and backslashes even beside the last entries of your lists. That something you should clean and do a rebuild from scratch.

        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
        1
        • V Offline
          V Offline
          VinayP
          wrote on last edited by
          #5

          Hi what do you mean by i dont have file extensions ? sorry i have some text error while typing. please look at it again here
          TEMPLATE = app

          TARGET = WirelessConfigurator

          CONFIG += embed_manifest_exe

          CONFIG += app_bundle

          #ICON = icon.icns

          QT += quick

          QT += core

          QT += gui

          QT += widgets

          #CONFIG += app_bundle

          CONFIG += c++11

          CONFIG(debug, debug|release) {

          } else {

          }

          INCLUDEPATH += classes/include/unix/

          LIBS += -Lclasses/lib/mac64/ -lusb_control

          LIBS += -Lclasses/lib/mac64/ -lftd2xx

          #DEFINES += QT_DEPRECATED_WARNINGS

          SOURCES += \

              Dropdown.cpp \
          
              Frequency.cpp\        
          
              configurator.cpp \
          
              frequency.cpp \
          
              serial.cpp \
          
              usbd.cpp \
          
              wfp.cpp \
          
              main.cpp \\
          

          RESOURCES += qml.qrc

          Additional import path used to resolve QML modules in Qt Creator's code model

          QML_IMPORT_PATH =

          Additional import path used to resolve QML modules just for Qt Quick Designer

          QML_DESIGNER_IMPORT_PATH =

          Default rules for deployment.

          qnx: target.path = /tmp/$${TARGET}/bin

          else: unix:!android: target.path = /opt/$${TARGET}/bin

          !isEmpty(target.path): INSTALLS += target

          HEADERS += \

          Dropdown.h \
          
          
          Frequency.h \
          
          
          coex_protocol.h \
          

          configurator.h \

          serial.h \
          
          taskbar.h \
          
          usb.h \
          
          usbconfig.h \
          

          usbd.h \

          wfp.h \\
          

          DISTFILES +=

          jsulmJ 1 Reply Last reply
          0
          • V VinayP

            Hi what do you mean by i dont have file extensions ? sorry i have some text error while typing. please look at it again here
            TEMPLATE = app

            TARGET = WirelessConfigurator

            CONFIG += embed_manifest_exe

            CONFIG += app_bundle

            #ICON = icon.icns

            QT += quick

            QT += core

            QT += gui

            QT += widgets

            #CONFIG += app_bundle

            CONFIG += c++11

            CONFIG(debug, debug|release) {

            } else {

            }

            INCLUDEPATH += classes/include/unix/

            LIBS += -Lclasses/lib/mac64/ -lusb_control

            LIBS += -Lclasses/lib/mac64/ -lftd2xx

            #DEFINES += QT_DEPRECATED_WARNINGS

            SOURCES += \

                Dropdown.cpp \
            
                Frequency.cpp\        
            
                configurator.cpp \
            
                frequency.cpp \
            
                serial.cpp \
            
                usbd.cpp \
            
                wfp.cpp \
            
                main.cpp \\
            

            RESOURCES += qml.qrc

            Additional import path used to resolve QML modules in Qt Creator's code model

            QML_IMPORT_PATH =

            Additional import path used to resolve QML modules just for Qt Quick Designer

            QML_DESIGNER_IMPORT_PATH =

            Default rules for deployment.

            qnx: target.path = /tmp/$${TARGET}/bin

            else: unix:!android: target.path = /opt/$${TARGET}/bin

            !isEmpty(target.path): INSTALLS += target

            HEADERS += \

            Dropdown.h \
            
            
            Frequency.h \
            
            
            coex_protocol.h \
            

            configurator.h \

            serial.h \
            
            taskbar.h \
            
            usb.h \
            
            usbconfig.h \
            

            usbd.h \

            wfp.h \\
            

            DISTFILES +=

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on last edited by
            #6

            @VinayP said in Qt Deployment error in Mac OSX:

            what do you mean by i dont have file extensions ?

            Simply check what you posted before. Example:

            frequency\
            

            If you post your code then please really post what you have.
            Why do you have \\

            main.cpp \\
            

            and

            wfp.h \\
            

            ?

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

            1 Reply Last reply
            1
            • V Offline
              V Offline
              VinayP
              wrote on last edited by
              #7

              @jslum Thanks for the reply. i have posted what i have written in the .pro file. those are the included projec files. and that is the way i have written it and it works for me in windows version of it. as i said, the previous reply was wrongly sent when i am trying to remove the comments. please see the next reply.

              jsulmJ 1 Reply Last reply
              0
              • V VinayP

                @jslum Thanks for the reply. i have posted what i have written in the .pro file. those are the included projec files. and that is the way i have written it and it works for me in windows version of it. as i said, the previous reply was wrongly sent when i am trying to remove the comments. please see the next reply.

                jsulmJ Offline
                jsulmJ Offline
                jsulm
                Lifetime Qt Champion
                wrote on last edited by
                #8

                @VinayP You did not answer my last question

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

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  VinayP
                  wrote on last edited by
                  #9

                  Hi again, those are my main file and some other(wfp) header file for the source file

                  jsulmJ 1 Reply Last reply
                  0
                  • V VinayP

                    Hi again, those are my main file and some other(wfp) header file for the source file

                    jsulmJ Offline
                    jsulmJ Offline
                    jsulm
                    Lifetime Qt Champion
                    wrote on last edited by jsulm
                    #10

                    @VinayP You don't understand my question. My question is: why do you have \\ after main.cpp and wfp.h?

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

                    V 1 Reply Last reply
                    0
                    • jsulmJ jsulm

                      @VinayP You don't understand my question. My question is: why do you have \\ after main.cpp and wfp.h?

                      V Offline
                      V Offline
                      VinayP
                      wrote on last edited by
                      #11

                      @jsulm if your are asking about "//" part that can be neglected that is a text error as well. i am working on different machines so copying texts causing some unknown errors in the format

                      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