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. have projects on Google drive. Can't open them on other computer.

have projects on Google drive. Can't open them on other computer.

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.6k Views 3 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.
  • R Offline
    R Offline
    Rample
    wrote on last edited by
    #1

    So I have my project files on google drive and I would like to access them from different computers. When I tried to do it I'm getting errors

    moc_dialog.obj:-1: error: LNK2019: unresolved external symbol "private: void __cdecl Dialog::on_tableView_activated(class QModelIndex const &)" (?on_tableView_activated@Dialog@@AEAAXAEBVQModelIndex@@@Z) referenced in function "public: virtual int __cdecl Dialog::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@Dialog@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z)

    release\Pocco_Interface_Dialog.exe:-1: error: LNK1120: 1 unresolved externals

    I also can no longer run the program on the computer it was originally created on.

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

      Hi,

      To understand the situation correctly: your project is located in your Google Drive folder and you are trying to build it in there from different computers, right ? Are you always using the same OS ? Doing clean builds ?

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

      R 1 Reply Last reply
      0
      • R Rample

        So I have my project files on google drive and I would like to access them from different computers. When I tried to do it I'm getting errors

        moc_dialog.obj:-1: error: LNK2019: unresolved external symbol "private: void __cdecl Dialog::on_tableView_activated(class QModelIndex const &)" (?on_tableView_activated@Dialog@@AEAAXAEBVQModelIndex@@@Z) referenced in function "public: virtual int __cdecl Dialog::qt_metacall(enum QMetaObject::Call,int,void * *)" (?qt_metacall@Dialog@@UEAAHW4Call@QMetaObject@@HPEAPEAX@Z)

        release\Pocco_Interface_Dialog.exe:-1: error: LNK1120: 1 unresolved externals

        I also can no longer run the program on the computer it was originally created on.

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

        Hi,

        @Rample said:

        So I have my project files on google drive and I would like to access them from different computers.

        There are some items you must not share between different computers.

        When you change PCs, make sure you:

        • Delete your *.pro.user file
        • Delete your "build" folder

        Anyway, Google Drive is not designed for sharing code. I recommend using source code control instead, like BitBucket or GitHUb -- GitHub is more popular, but BitBucket lets you keep your project private.

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

        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          To understand the situation correctly: your project is located in your Google Drive folder and you are trying to build it in there from different computers, right ? Are you always using the same OS ? Doing clean builds ?

          R Offline
          R Offline
          Rample
          wrote on last edited by
          #4

          @SGaist What does "clean builds" refer to exactly? Other than that yes.

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

            The same thing as @JKSH suggested: delete the build folder.

            However, @JKSH has a very good point that I forgot to mention: Google Drive is not meant for such a task, using git/mercurial/etc. will be a better way to handle your code between different machines.

            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

            • Login

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