Index: quicktabs.module
===================================================================
--- quicktabs.module
+++ quicktabs.module
@@ -170,8 +170,6 @@
   if ($quicktabs['style'] == 'default') {
     $quicktabs['style'] = variable_get('quicktabs_tabstyle', 'nostyle');
   }
-  // convert views arguments to an array, retrieving %-style args from url
-  $quicktabs['tabs'] = _quicktabs_prepare_views_args($quicktabs['tabs']);
 
   quicktabs_add_css($quicktabs['style']);
   $javascript = drupal_add_js('misc/progress.js', 'core');
@@ -432,6 +430,9 @@
     }
   }
   array_multisort($weight, SORT_ASC, $tabs);
+  
+  // convert views arguments to an array, retrieving %-style args from url
+  $tabs = _quicktabs_prepare_views_args($tabs);
 
   $quicktabs['tabs'] = $tabs;
   return $quicktabs;
@@ -576,7 +577,12 @@
 function _quicktabs_prepare_views_args($tabs) {
   foreach ($tabs as $key => $tab) {
     if ($tab['type'] == 'view') {
-      $url_args = arg();
+      if (isset($_GET['realurl'])) {
+        $url_args = arg(NULL, $_GET['realurl']);
+      }
+      else {
+        $url_args = arg();
+      }
       $args = $tab['args'];
 
       foreach ($url_args as $id => $arg) {
Index: js/quicktabs.js
===================================================================
--- js/quicktabs.js
+++ js/quicktabs.js
@@ -173,7 +173,7 @@
         $.ajax({
           url: qtAjaxPath,
           type: 'GET',
-          data: null,
+          data: { realurl: location.pathname.substr(Drupal.settings.basePath.length) },
           success: tab.options.success,
           complete: tab.options.complete,
           dataType: 'json'
